From: <bi...@fr...> - 2006-01-23 15:16:01
|
CVS Root: /cvs/gstreamer Module: gst-ffmpeg Changes by: bilboed Date: Mon Jan 23 2006 07:13:41 PST Log message: * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps): Added CODEC_ID_SMC <==> video/x-smc caps * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame): I hate ffmpeg... no keyframe information at all for VP3, so we have to assume they're all keyframes :( Modified files: . : ChangeLog ext/ffmpeg : gstffmpegcodecmap.c gstffmpegdec.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-ffmpeg/ChangeLog.diff?r1=1.243&r2=1.244 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-ffmpeg/ext/ffmpeg/gstffmpegcodecmap.c.diff?r1=1.100&r2=1.101 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-ffmpeg/ext/ffmpeg/gstffmpegdec.c.diff?r1=1.135&r2=1.136 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-ffmpeg/ChangeLog,v retrieving revision 1.243 retrieving revision 1.244 diff -u -d -r1.243 -r1.244 --- ChangeLog 20 Jan 2006 14:17:16 -0000 1.243 +++ ChangeLog 23 Jan 2006 15:13:29 -0000 1.244 @@ -1,3 +1,11 @@ +2006-01-23 Edward Hervey <ed...@fl...> + + * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps): + Added CODEC_ID_SMC <==> video/x-smc caps + * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame): + I hate ffmpeg... no keyframe information at all for VP3, so we have + to assume they're all keyframes :( 2006-01-20 Martin Zlomek from Itonis (mic...@xe...) reviewed by: Edward Hervey <ed...@fl...> Index: gstffmpegcodecmap.c RCS file: /cvs/gstreamer/gst-ffmpeg/ext/ffmpeg/gstffmpegcodecmap.c,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- gstffmpegcodecmap.c 19 Dec 2005 15:47:13 -0000 1.100 +++ gstffmpegcodecmap.c 23 Jan 2006 15:13:29 -0000 1.101 @@ -528,10 +528,13 @@ caps = GST_FF_VID_CAPS_NEW ("image/png", NULL); break; + case CODEC_ID_SMC: + caps = GST_FF_VID_CAPS_NEW ("video/x-smc", NULL); + break; case CODEC_ID_WS_VQA: case CODEC_ID_IDCIN: case CODEC_ID_8BPS: - case CODEC_ID_SMC: case CODEC_ID_FLIC: case CODEC_ID_VMDVIDEO: case CODEC_ID_VMDAUDIO: Index: gstffmpegdec.c RCS file: /cvs/gstreamer/gst-ffmpeg/ext/ffmpeg/gstffmpegdec.c,v retrieving revision 1.135 retrieving revision 1.136 diff -u -d -r1.135 -r1.136 --- gstffmpegdec.c 17 Jan 2006 09:24:40 -0000 1.135 +++ gstffmpegdec.c 23 Jan 2006 15:13:29 -0000 1.136 @@ -821,7 +821,8 @@ iskeyframe = ( is_itype || is_reference ) || (oclass->in_plugin->id == CODEC_ID_INDEO3) || (oclass->in_plugin->id == CODEC_ID_MSZH) - || (oclass->in_plugin->id == CODEC_ID_ZLIB); + || (oclass->in_plugin->id == CODEC_ID_ZLIB) + || (oclass->in_plugin->id == CODEC_ID_VP3); GST_DEBUG_OBJECT (ffmpegdec, "Decoded video: len=%d, have_data=%d, is_keyframe:%d, is_itype:%d, is_reference:%d", len, have_data, iskeyframe, is_itype, is_reference); |