From: Benjamin O. <co...@pd...> - 2004-04-22 03:47:06
|
CVS Root: /home/cvs/gstreamer Module: gst-ffmpeg Changes by: company Date: Wed Apr 21 2004 20:44:10 PDT Log message: * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_caps_remove_format_info): use gst_caps_do_simplify Modified files: . : ChangeLog ext/ffmpeg : gstffmpegcolorspace.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-ffmpeg/ChangeLog.diff?r1=1.46&r2=1.47 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-ffmpeg/ext/ffmpeg/gstffmpegcolorspace.c.diff?r1=1.17&r2=1.18 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /home/cvs/gstreamer/gst-ffmpeg/ChangeLog,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- a/ChangeLog 19 Apr 2004 02:08:23 -0000 1.46 +++ b/ChangeLog 22 Apr 2004 03:43:58 -0000 1.47 @@ -1,3 +1,9 @@ +2004-04-22 Benjamin Otte <ot...@gn...> + + * ext/ffmpeg/gstffmpegcolorspace.c: + (gst_ffmpegcsp_caps_remove_format_info): + use gst_caps_do_simplify 2004-04-19 Benjamin Otte <ot...@gn...> * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find): Index: gstffmpegcolorspace.c RCS file: /home/cvs/gstreamer/gst-ffmpeg/ext/ffmpeg/gstffmpegcolorspace.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- a/gstffmpegcolorspace.c 16 Apr 2004 02:06:23 -0000 1.17 +++ b/gstffmpegcolorspace.c 22 Apr 2004 03:43:58 -0000 1.18 @@ -128,9 +128,8 @@ gst_structure_remove_field (structure, "blue_mask"); } - rgbcaps = gst_caps_simplify (caps); - gst_caps_free (caps); - caps = gst_caps_copy (rgbcaps); + gst_caps_do_simplify (caps); + rgbcaps = gst_caps_copy (caps); for (i = 0; i < gst_caps_get_size (rgbcaps); i++) { structure = gst_caps_get_structure (rgbcaps, i); |