All pastes #617160 Raw Edit

Untitled

public text v1 · immutable
·published 2007-07-13 02:00 UTC
rendered paste body
Index: tovid
===================================================================
--- tovid	(revision 2174)
+++ tovid	(working copy)
@@ -1183,6 +1183,10 @@
 
     if $DO_NORM; then AUDIO_OK=false; fi
     [[ "$AUDIO_TRACK" ]] && AUDIO_OK=false
+
+    # ffmpeg is broken, so we can't just dump compliant mp2 audio
+    $AUDIO_OK && ! $VIDEO_OK && [[ $ID_AUDIO_CODEC = "mp2" ]] && AUDIO_OK=false
+
     # If both audio and video are OK, stop now - there's no need to convert.
     if ! $FORCE_ENCODING && $AUDIO_OK && $VIDEO_OK; then
         # Create a symbolic link in place of the output file