mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 02:02:26 +00:00
tests: fix toc unit test build by removing toc query stuff there too
This commit is contained in:
parent
aa2309e54a
commit
8ac900a515
1 changed files with 0 additions and 16 deletions
|
@ -127,7 +127,6 @@ GST_START_TEST (test_serializing)
|
||||||
GstTagList *tags;
|
GstTagList *tags;
|
||||||
GstEvent *event;
|
GstEvent *event;
|
||||||
GstMessage *message;
|
GstMessage *message;
|
||||||
GstQuery *query;
|
|
||||||
gboolean updated;
|
gboolean updated;
|
||||||
gchar *uid;
|
gchar *uid;
|
||||||
gint64 start = -1, stop = -1;
|
gint64 start = -1, stop = -1;
|
||||||
|
@ -279,21 +278,6 @@ GST_START_TEST (test_serializing)
|
||||||
gst_event_unref (event);
|
gst_event_unref (event);
|
||||||
g_free (uid);
|
g_free (uid);
|
||||||
|
|
||||||
/* check TOC query handling */
|
|
||||||
query = gst_query_new_toc ();
|
|
||||||
fail_if (query == NULL);
|
|
||||||
gst_query_set_toc (query, toc, TEST_UID);
|
|
||||||
fail_unless (query->type == GST_QUERY_TOC);
|
|
||||||
ASSERT_MINI_OBJECT_REFCOUNT (GST_MINI_OBJECT (query), "GstQuery", 1);
|
|
||||||
|
|
||||||
gst_query_parse_toc (query, &test_toc, &uid);
|
|
||||||
fail_unless_equals_string (uid, TEST_UID);
|
|
||||||
fail_if (test_toc == NULL);
|
|
||||||
CHECK_TOC (test_toc);
|
|
||||||
gst_toc_unref (test_toc);
|
|
||||||
gst_query_unref (query);
|
|
||||||
g_free (uid);
|
|
||||||
|
|
||||||
/* FIXME: toc validation / verification should probably be done on the fly
|
/* FIXME: toc validation / verification should probably be done on the fly
|
||||||
* while creating it, and not when putting the toc in events or messages ? */
|
* while creating it, and not when putting the toc in events or messages ? */
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Loading…
Reference in a new issue