dvdbasebin: fix for pad probes update
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 7 Nov 2011 16:13:11 +0000 (17:13 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 7 Nov 2011 16:13:11 +0000 (17:13 +0100)
sys/dvb/dvbbasebin.c

index 6abba71d6cf35d2c1b8df27d8324f5a7df98d1e9..6e32e01af8b75d5671275ec87c87883c37232b8f 100644 (file)
@@ -564,8 +564,9 @@ dvb_base_bin_init_cam (DvbBaseBin * dvbbasebin)
       /* HACK: poll the cam in a buffer probe */
       dvbbasebin->ts_pad =
           gst_element_get_request_pad (dvbbasebin->mpegtsparse, "src_%u");
-      gst_pad_add_probe (dvbbasebin->ts_pad, GST_PAD_PROBE_TYPE_BLOCK,
-          dvb_base_bin_ts_pad_probe_cb, dvbbasebin, NULL);
+      gst_pad_add_probe (dvbbasebin->ts_pad,
+          GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM, dvb_base_bin_ts_pad_probe_cb,
+          dvbbasebin, NULL);
     } else {
       GST_ERROR_OBJECT (dvbbasebin, "could not open %s", ca_file);
       cam_device_free (dvbbasebin->hwcam);