mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
gst/gstcaps.c: Fix proper check for simple caps.
Original commit message from CVS: * gst/gstcaps.c: (gst_caps_set_simple_valist), (gst_caps_intersect): Fix proper check for simple caps.
This commit is contained in:
parent
2cf1e35694
commit
3fb7bda332
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-08-12 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* gst/gstcaps.c: (gst_caps_set_simple_valist),
|
||||
(gst_caps_intersect):
|
||||
Fix proper check for simple caps.
|
||||
|
||||
2007-08-10 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* docs/gst/Makefile.am:
|
||||
|
|
|
@ -895,7 +895,7 @@ gst_caps_set_simple_valist (GstCaps * caps, char *field, va_list varargs)
|
|||
GstStructure *structure;
|
||||
|
||||
g_return_if_fail (GST_IS_CAPS (caps));
|
||||
g_return_if_fail (caps->structs->len != 1);
|
||||
g_return_if_fail (caps->structs->len == 1);
|
||||
g_return_if_fail (IS_WRITABLE (caps));
|
||||
|
||||
structure = gst_caps_get_structure (caps, 0);
|
||||
|
|
Loading…
Reference in a new issue