gst-libs/gst/video/video.c: Revert ABI change.
authorDavid Schleef <ds@schleef.org>
Tue, 15 Jul 2008 22:43:16 +0000 (22:43 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 15 Jul 2008 22:43:16 +0000 (22:43 +0000)
Original commit message from CVS:
* gst-libs/gst/video/video.c: Revert ABI change.

ChangeLog
gst-libs/gst/video/video.c

index 0df97ac09e6b438558983d048af3c9f4fbecee4f..91bcffa7bfe0c124dbc506b530dae822f4beca41 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 31c534b94d98a0c57d6d6cf57949902efe25fbab..97ee6cde65334a3761babf59990ba478b493df48 100644 (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);