Commit f1fdf5d3 authored by Wim Taymans's avatar Wim Taymans

theoradec: small cleanups

parent 08c16c0d
......@@ -403,7 +403,7 @@ theora_dec_src_query (GstPad * pad, GstQuery * query)
gint64 value;
GstFormat my_format, format;
GstFormat format;
gint64 time;
/* parse format */
......@@ -415,9 +415,9 @@ theora_dec_src_query (GstPad * pad, GstQuery * query)
"query %p: our time: %" GST_TIME_FORMAT, query, GST_TIME_ARGS (time));
my_format = GST_FORMAT_TIME;
if (!(res =
theora_dec_src_convert (pad, my_format, time, &format, &value)))
theora_dec_src_convert (pad, GST_FORMAT_TIME, time, &format,
goto error;
gst_query_set_position (query, format, value);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment