[xiph-commits] r16061 - trunk/ffmpeg2theora/src
oggk at svn.xiph.org
oggk at svn.xiph.org
Sat May 30 10:56:47 PDT 2009
Author: oggk
Date: 2009-05-30 10:56:46 -0700 (Sat, 30 May 2009)
New Revision: 16061
Modified:
trunk/ffmpeg2theora/src/ffmpeg2theora.c
Log:
do not start a stream for subtitles codecs we do not understand (eg, graphics)
Modified: trunk/ffmpeg2theora/src/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/src/ffmpeg2theora.c 2009-05-30 17:51:49 UTC (rev 16060)
+++ trunk/ffmpeg2theora/src/ffmpeg2theora.c 2009-05-30 17:56:46 UTC (rev 16061)
@@ -792,7 +792,7 @@
if (codec && avcodec_open (enc, codec) >= 0) {
subtitles_opened[i] = 1;
}
- if (enc->codec_id == CODEC_ID_TEXT || enc->codec_id == CODEC_ID_SSA || subtitles_opened[i]) {
+ if (enc->codec_id == CODEC_ID_TEXT || enc->codec_id == CODEC_ID_SSA /*|| subtitles_opened[i]*/) {
subtitles_enabled[i] = 1;
add_subtitles_stream(this, i, find_language_for_subtitle_stream(stream), NULL);
}
More information about the commits
mailing list