mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
- some more checks
Original commit message from CVS: - some more checks
This commit is contained in:
parent
6ebefb6ab3
commit
20ada53580
2 changed files with 12 additions and 0 deletions
|
@ -74,6 +74,12 @@ main (gint argc, gchar *argv[])
|
||||||
/* caps too */
|
/* caps too */
|
||||||
g_assert (!GST_CAPS_IS_FIXED (caps));
|
g_assert (!GST_CAPS_IS_FIXED (caps));
|
||||||
|
|
||||||
|
gst_props_set (props, "foo", GST_PROPS_INT (5));
|
||||||
|
/* props should be fixed again now */
|
||||||
|
g_assert (GST_PROPS_IS_FIXED (props));
|
||||||
|
/* caps too */
|
||||||
|
g_assert (GST_CAPS_IS_FIXED (caps));
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,6 +74,12 @@ main (gint argc, gchar *argv[])
|
||||||
/* caps too */
|
/* caps too */
|
||||||
g_assert (!GST_CAPS_IS_FIXED (caps));
|
g_assert (!GST_CAPS_IS_FIXED (caps));
|
||||||
|
|
||||||
|
gst_props_set (props, "foo", GST_PROPS_INT (5));
|
||||||
|
/* props should be fixed again now */
|
||||||
|
g_assert (GST_PROPS_IS_FIXED (props));
|
||||||
|
/* caps too */
|
||||||
|
g_assert (GST_CAPS_IS_FIXED (caps));
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue