From 1a7c8c7919ff310ea9271637bb4d06351b368885 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 9 Dec 2009 17:24:01 +0100 Subject: [PATCH] theoradec: fix query --- ext/theora/theoradec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c index 169fc29c68..6eef4729d5 100644 --- a/ext/theora/theoradec.c +++ b/ext/theora/theoradec.c @@ -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;