From: Jan Schmidt Date: Fri, 17 Mar 2017 13:06:02 +0000 (+1100) Subject: urisourcebin: Store slot info on the queue object too X-Git-Tag: 1.19.3~511^2~2323 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8cb57a4fe80a6163e8eb94282ba6ca5795695b60;p=platform%2Fupstream%2Fgstreamer.git urisourcebin: Store slot info on the queue object too The buffering message handling tries to look up the slot info on the queue itself. --- diff --git a/gst/playback/gsturisourcebin.c b/gst/playback/gsturisourcebin.c index 715f861f14..54ec197441 100644 --- a/gst/playback/gsturisourcebin.c +++ b/gst/playback/gsturisourcebin.c @@ -1169,6 +1169,9 @@ get_output_slot (GstURISourceBin * urisrc, gboolean do_download, slot = g_new0 (OutputSlotInfo, 1); slot->queue = queue; + /* Set the slot onto the queue (needed in buffering msg handling) */ + g_object_set_data (G_OBJECT (queue), "urisourcebin.slotinfo", slot); + if (do_download) { gchar *temp_template, *filename; const gchar *tmp_dir, *prgname;