theoradec: fix query

This commit is contained in:
Wim Taymans 2009-12-09 17:24:01 +01:00
parent f1fdf5d3e4
commit 1a7c8c7919

View file

@ -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;