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
This commit is contained in:
Benjamin Otte 2004-04-22 03:43:58 +00:00
parent 73c5b14aa7
commit 16f5300aba
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,9 @@
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):

2
common

@ -1 +1 @@
Subproject commit e55182f6eece70ff99e33b9800b27a926670dbdd
Subproject commit 63d93f01177745ba864263f0b6f976212684cb87

View file

@ -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);