summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-07-29 14:49:56 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-07-29 14:49:56 -0400
commit597f32e89515455761fbc209db7e2faf2ea43542 (patch)
treed6e1701a79e54fdb044989055a46e8db8bd81853
parenta5f94859171b962106842703d8967d0b04df9efd (diff)
ffmpegdec: Disable theora decoder
The wrapper does not give the decoder the extradata correctly. Just use theoradec. Fixes bug #590172
-rw-r--r--ext/ffmpeg/gstffmpegdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c
index 6eb0903..9ce0d2a 100644
--- a/ext/ffmpeg/gstffmpegdec.c
+++ b/ext/ffmpeg/gstffmpegdec.c
@@ -2747,8 +2747,10 @@ gst_ffmpegdec_register (GstPlugin * plugin)
/* MPEG1VIDEO : the mpeg2video decoder is preferred */
/* MP1 : Use MP3 for decoding */
/* MP2 : Use MP3 for decoding */
+ /* Theora: Use libtheora based theoradec */
if (!strcmp (in_plugin->name, "gif") ||
!strcmp (in_plugin->name, "vorbis") ||
+ !strcmp (in_plugin->name, "theora") ||
!strcmp (in_plugin->name, "mpeg1video") ||
!strcmp (in_plugin->name, "wavpack") ||
!strcmp (in_plugin->name, "mp1") ||