diff --git a/ChangeLog b/ChangeLog index 0df97ac09e..91bcffa7bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-07-15 David Schleef + + * gst-libs/gst/video/video.c: Revert ABI change. + 2008-07-15 Sebastian Dröge * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps): diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c index 31c534b94d..97ee6cde65 100644 --- a/gst-libs/gst/video/video.c +++ b/gst-libs/gst/video/video.c @@ -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);