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:
Tim-Philipp Müller 2014-11-15 21:59:48 +00:00
parent bdfac8a6d4
commit 3e1d763018

View file

@ -489,7 +489,7 @@ dvb_base_bin_init (DvbBaseBin * dvbbasebin)
dvbbasebin->tsparse = gst_element_factory_make ("tsparse", NULL);
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,
dvbbasebin->buffer_queue, dvbbasebin->tsparse, NULL);