Commit 16f5300a authored by Benjamin Otte's avatar Benjamin Otte

ext/ffmpeg/gstffmpegcolorspace.c: use gst_caps_do_simplify

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcolorspace.c:
(gst_ffmpegcsp_caps_remove_format_info):
use gst_caps_do_simplify
parent 73c5b14a
2004-04-22 Benjamin Otte <otte@gnome.org>
* ext/ffmpeg/gstffmpegcolorspace.c:
(gst_ffmpegcsp_caps_remove_format_info):
use gst_caps_do_simplify
2004-04-19 Benjamin Otte <otte@gnome.org>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
......
common @ 63d93f01
Subproject commit e55182f6eece70ff99e33b9800b27a926670dbdd
Subproject commit 63d93f01177745ba864263f0b6f976212684cb87
......@@ -128,9 +128,8 @@ gst_ffmpegcsp_caps_remove_format_info (GstCaps * caps)
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment