From 3f8af6f5114a9ce94367a6798c680c33805d3b43 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 7 Nov 2011 17:13:11 +0100 Subject: [PATCH] dvdbasebin: fix for pad probes update --- sys/dvb/dvbbasebin.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dvb/dvbbasebin.c b/sys/dvb/dvbbasebin.c index 6abba71d6c..6e32e01af8 100644 --- a/sys/dvb/dvbbasebin.c +++ b/sys/dvb/dvbbasebin.c @@ -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);