Commit 1a7c8c79 authored by Wim Taymans's avatar Wim Taymans

theoradec: fix query

parent f1fdf5d3
......@@ -430,7 +430,7 @@ theora_dec_src_query (GstPad * pad, GstQuery * query)
case GST_QUERY_DURATION:
{
/* forward to peer for total */
res = gst_pad_peer_query (pad, query);
res = gst_pad_peer_query (dec->sinkpad, query);
if (!res)
goto error;
......
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