- some more checks

Original commit message from CVS:
- some more checks
This commit is contained in:
Wim Taymans 2003-06-13 20:54:02 +00:00
parent 6ebefb6ab3
commit 20ada53580
2 changed files with 12 additions and 0 deletions

View file

@ -74,6 +74,12 @@ main (gint argc, gchar *argv[])
/* caps too */
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;
}

View file

@ -74,6 +74,12 @@ main (gint argc, gchar *argv[])
/* caps too */
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;
}