From e14d94772ec9f81647f62c660c7a299fd586a569 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Wed, 20 Jun 2012 11:22:47 +0100 Subject: dvd: Fix compilation --- tests/insanity-test-gst-dvd.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/insanity-test-gst-dvd.c b/tests/insanity-test-gst-dvd.c index 8cd095f..606a65f 100644 --- a/tests/insanity-test-gst-dvd.c +++ b/tests/insanity-test-gst-dvd.c @@ -113,11 +113,8 @@ dvd_test_get_position (InsanityTest * test) { gint64 pos = 0; gboolean res; - GstFormat format = GST_FORMAT_TIME; - res = gst_element_query_position (global_pipeline, &format, &pos); - if (format != GST_FORMAT_TIME) - res = FALSE; + res = gst_element_query_position (global_pipeline, GST_FORMAT_TIME, &pos); insanity_test_validate_checklist_item (test, "position-queried", res, NULL); if (!res) { pos = GST_CLOCK_TIME_NONE; -- cgit v1.2.3