[tovid] r3406 committed - As in last commit, change sed line parsing stream number to account fo...

0 views
Skip to first unread message

to...@googlecode.com

unread,
Oct 24, 2011, 12:04:02 PM10/24/11
to tovi...@googlegroups.com
Revision: 3406
Author: grepper
Date: Mon Oct 24 09:03:01 2011
Log: As in last commit, change sed line parsing stream number to
account for
ffmpeg's change to using ":" as a separator.

http://code.google.com/p/tovid/source/detail?r=3406

Modified:
/trunk/tovid/src/idvid

=======================================
--- /trunk/tovid/src/idvid Mon Oct 24 07:12:06 2011
+++ /trunk/tovid/src/idvid Mon Oct 24 09:03:01 2011
@@ -239,7 +239,7 @@
# Find out which channel is the video channel ( 1st )
# TODO Do we want to worry about videos with multiple channels of
video ?
VIDEO_INFO=$(grep "Video:" "$SCRATCH_FILE")
- ID_VIDEO_TRACKS=( $(sed -r 's/.*Stream #([0-9]\.[0-9]+).*/\1/'
<<< "$VIDEO_INFO") )
+ ID_VIDEO_TRACKS=( $(sed -r 's/.*Stream #([0-9][:.][0-9]+).*/\1/'
<<< "$VIDEO_INFO") )
ID_VIDEO_TRACK="${ID_VIDEO_TRACKS[0]}"
# Find out what audio channels are available
if test -n "$ID_AUDIO_ID"; then

Reply all
Reply to author
Forward
0 new messages