From 20ada5358090fb94897c0c550ff06b30a445d875 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 13 Jun 2003 20:54:02 +0000 Subject: [PATCH] - some more checks Original commit message from CVS: - some more checks --- tests/old/testsuite/caps/fixed.c | 6 ++++++ testsuite/caps/fixed.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/tests/old/testsuite/caps/fixed.c b/tests/old/testsuite/caps/fixed.c index 06b23ac005..045c6b1d77 100644 --- a/tests/old/testsuite/caps/fixed.c +++ b/tests/old/testsuite/caps/fixed.c @@ -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; } diff --git a/testsuite/caps/fixed.c b/testsuite/caps/fixed.c index 06b23ac005..045c6b1d77 100644 --- a/testsuite/caps/fixed.c +++ b/testsuite/caps/fixed.c @@ -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; }