mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
dvbbasebin: fix possible crash by passing 64 bits for 64-bit queue property
https://bugzilla.gnome.org/show_bug.cgi?id=740191
This commit is contained in:
parent
bdfac8a6d4
commit
3e1d763018
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ dvb_base_bin_init (DvbBaseBin * dvbbasebin)
|
||||||
dvbbasebin->tsparse = gst_element_factory_make ("tsparse", NULL);
|
dvbbasebin->tsparse = gst_element_factory_make ("tsparse", NULL);
|
||||||
|
|
||||||
g_object_set (dvbbasebin->buffer_queue, "max-size-buffers", 0,
|
g_object_set (dvbbasebin->buffer_queue, "max-size-buffers", 0,
|
||||||
"max-size-bytes", 0, "max-size-time", 0, NULL);
|
"max-size-bytes", 0, "max-size-time", (guint64) 0, NULL);
|
||||||
|
|
||||||
gst_bin_add_many (GST_BIN (dvbbasebin), dvbbasebin->dvbsrc,
|
gst_bin_add_many (GST_BIN (dvbbasebin), dvbbasebin->dvbsrc,
|
||||||
dvbbasebin->buffer_queue, dvbbasebin->tsparse, NULL);
|
dvbbasebin->buffer_queue, dvbbasebin->tsparse, NULL);
|
||||||
|
|
Loading…
Reference in a new issue