diff options
author | Thibault Saunier <thibault.saunier@collabora.com> | 2012-07-16 14:41:45 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-07-16 15:22:13 +0200 |
commit | ac55519dca598770fb9b76f3f8e499ddf15391bc (patch) | |
tree | 0242db10021e693c6cdbb84e669d514bdfa323e3 | |
parent | 8b7ab8c9c6ccaabb12f128650558968d27069e64 (diff) |
decoder: Make queries on the pipeline directly, not the demuxer.
-rw-r--r-- | tests/insanity-test-gst-decoder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/insanity-test-gst-decoder.c b/tests/insanity-test-gst-decoder.c index 2de9302..aa3e04a 100644 --- a/tests/insanity-test-gst-decoder.c +++ b/tests/insanity-test-gst-decoder.c @@ -221,7 +221,7 @@ test_position (InsanityTest * test, GstBuffer * buf) query = gst_query_new_position (GST_FORMAT_TIME); - if (gst_element_query (glob_decoder, query)) { + if (gst_element_query (glob_pipeline, query)) { gint64 pos; GstFormat fmt; GstClockTimeDiff diff; @@ -341,7 +341,7 @@ test_queries (InsanityTest * test) { GstQuery *query = gst_query_new_seeking (GST_FORMAT_TIME); - if (gst_element_query (glob_demuxer, query)) { + if (gst_element_query (glob_pipeline, query)) { GstFormat fmt; gboolean seekable, known_seekable; @@ -370,7 +370,7 @@ test_queries (InsanityTest * test) gst_query_unref (query); query = gst_query_new_duration (GST_FORMAT_TIME); - if (gst_element_query (glob_demuxer, query)) { + if (gst_element_query (glob_pipeline, query)) { GstFormat fmt; gchar *validate_msg = NULL; gint64 duration; |