[tovid] r3405 committed - ffmpeg changed to using ':' as a separator for the track numbers. Adj...

0 views
Skip to first unread message

to...@googlecode.com

unread,
Oct 24, 2011, 10:12:23 AM10/24/11
to tovi...@googlegroups.com
Revision: 3405
Author: grepper
Date: Mon Oct 24 07:12:06 2011
Log: ffmpeg changed to using ':' as a separator for the track
numbers. Adjusted
the sed line that parses it.

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

Modified:
/trunk/tovid/src/idvid

=======================================
--- /trunk/tovid/src/idvid Fri Aug 26 19:29:18 2011
+++ /trunk/tovid/src/idvid Mon Oct 24 07:12:06 2011
@@ -245,7 +245,7 @@
if test -n "$ID_AUDIO_ID"; then
AUDIO_INFO=$(grep -w "Audio:" "$SCRATCH_FILE")
# ID_AUDIO_ID needs "TRACKS" var to remain in columns
- TRACKS=$(sed -r 's/.*Stream #([0-9]\.[0-9]+).*/\1/'
<<< "$AUDIO_INFO")
+ TRACKS=$(sed -r 's/.*Stream #([0-9][:.][0-9]+).*/\1/'
<<< "$AUDIO_INFO")
A_TRACKS=(${TRACKS//$'\n'/ })
# Get hexadecimal track IDs, if present
if grep -q "\[0x[0-9a-fA-F]*]" <<< $AUDIO_INFO; then

Reply all
Reply to author
Forward
0 new messages