mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
dvdbasebin: fix for pad probes update
This commit is contained in:
parent
62544179e2
commit
3f8af6f511
1 changed files with 3 additions and 2 deletions
|
@ -564,8 +564,9 @@ dvb_base_bin_init_cam (DvbBaseBin * dvbbasebin)
|
||||||
/* HACK: poll the cam in a buffer probe */
|
/* HACK: poll the cam in a buffer probe */
|
||||||
dvbbasebin->ts_pad =
|
dvbbasebin->ts_pad =
|
||||||
gst_element_get_request_pad (dvbbasebin->mpegtsparse, "src_%u");
|
gst_element_get_request_pad (dvbbasebin->mpegtsparse, "src_%u");
|
||||||
gst_pad_add_probe (dvbbasebin->ts_pad, GST_PAD_PROBE_TYPE_BLOCK,
|
gst_pad_add_probe (dvbbasebin->ts_pad,
|
||||||
dvb_base_bin_ts_pad_probe_cb, dvbbasebin, NULL);
|
GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM, dvb_base_bin_ts_pad_probe_cb,
|
||||||
|
dvbbasebin, NULL);
|
||||||
} else {
|
} else {
|
||||||
GST_ERROR_OBJECT (dvbbasebin, "could not open %s", ca_file);
|
GST_ERROR_OBJECT (dvbbasebin, "could not open %s", ca_file);
|
||||||
cam_device_free (dvbbasebin->hwcam);
|
cam_device_free (dvbbasebin->hwcam);
|
||||||
|
|
Loading…
Reference in a new issue