From 79b25e634ce50d14398b591e918f30b9ad1ff1ed Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 9 Dec 2009 19:04:18 +0100 Subject: [PATCH] vorbisdec: fix peer query --- ext/vorbis/vorbisdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/vorbis/vorbisdec.c b/ext/vorbis/vorbisdec.c index 8b96594378..55742290ee 100644 --- a/ext/vorbis/vorbisdec.c +++ b/ext/vorbis/vorbisdec.c @@ -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;