gst-libs/gst/video/video.c: Revert ABI change.

Original commit message from CVS:
* gst-libs/gst/video/video.c: Revert ABI change.
This commit is contained in:
David Schleef 2008-07-15 22:43:16 +00:00
parent dd7d36320e
commit 47eafd3466
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2008-07-15 David Schleef <ds@schleef.org>
* gst-libs/gst/video/video.c: Revert ABI change.
2008-07-15 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):

View file

@ -243,9 +243,7 @@ gst_video_format_parse_caps (GstCaps * caps, GstVideoFormat * format,
GstStructure *structure;
gboolean ok = TRUE;
/* caps must hold exactly 1 structure to be unambiguous,
* but need not be fixed to determine format */
if (gst_caps_get_size (caps) != 1)
if (!gst_caps_is_fixed (caps))
return FALSE;
structure = gst_caps_get_structure (caps, 0);