rawparse: default query should be forward on target pad
authorJustin Joy <justin.joy.9to5@gmail.com>
Thu, 19 Jun 2014 08:24:26 +0000 (17:24 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 22 Jun 2014 12:21:35 +0000 (14:21 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=731899

gst/rawparse/gstrawparse.c

index afefd4a..afbaa28 100644 (file)
@@ -1030,7 +1030,7 @@ gst_raw_parse_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
     }
     default:
       /* else forward upstream */
-      ret = gst_pad_query_default (rp->sinkpad, parent, query);
+      ret = gst_pad_query_default (pad, parent, query);
       break;
   }