[gst-cvs] gst-plugins-base: theoradec: fix query

Wim Taymans wtay at kemper.freedesktop.org
Wed Dec 9 10:04:56 PST 2009


Module: gst-plugins-base
Branch: master
Commit: 1a7c8c7919ff310ea9271637bb4d06351b368885
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=1a7c8c7919ff310ea9271637bb4d06351b368885

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Wed Dec  9 17:24:01 2009 +0100

theoradec: fix query

---

 ext/theora/theoradec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c
index 169fc29..6eef472 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;
 





More information about the Gstreamer-commits mailing list