vorbisdec: fix peer query

This commit is contained in:
Wim Taymans 2009-12-09 19:04:18 +01:00
parent 1a7c8c7919
commit 79b25e634c

View file

@ -344,7 +344,7 @@ vorbis_dec_src_query (GstPad * pad, GstQuery * query)
}
case GST_QUERY_DURATION:
{
res = gst_pad_peer_query (pad, query);
res = gst_pad_peer_query (dec->sinkpad, query);
if (!res)
goto error;