Skip to content

Commit

Permalink
Revert "added creation_time to metadata parser (thanks to @nvihinen, c…
Browse files Browse the repository at this point in the history
…loses #43)"

This reverts commit 7d53435.
  • Loading branch information
schaermu committed May 3, 2012
1 parent 7d53435 commit e938811
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ var meta = module.exports = {
var audio_stream = /Stream #([0-9\.]+)([a-z0-9\(\)\[\]]*)[:] Audio/.exec(stderr);
var is_synched = (/start: 0.000000/.exec(stderr) != null);
var rotate = /rotate[\s]+:[\s]([\d]{2,3})/.exec(stderr);
var creation_time = /creation_time\s+:\s(.+)/.exec(stderr);

// get ffmpeg version
var getVersion = /ffmpeg version (?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)/i.exec(stderr);
Expand All @@ -52,7 +51,6 @@ var meta = module.exports = {
durationraw: (duration && duration.length > 1) ? duration[1] : '',
title: (title && title.length > 2) ? title[2].trim() : null,
synched: is_synched,
creation_time: (creation_time && creation_time.length > 1) ? creation_time[1] : null,
video: {
container: (container && container.length > 0) ? container[1] : '',
bitrate: (video_bitrate && video_bitrate.length > 1) ? parseInt(video_bitrate[1]) : 0,
Expand Down

0 comments on commit e938811

Please sign in to comment.