summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-06-20 11:22:47 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-06-20 11:22:47 +0100
commite14d94772ec9f81647f62c660c7a299fd586a569 (patch)
tree82133704919f25e8564c63447a241aaec5c8e49f
parentadb004f03525c41d6fc4f6ba9f137f33386f64bb (diff)
dvd: Fix compilation
-rw-r--r--tests/insanity-test-gst-dvd.c5
1 files changed, 1 insertions, 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;