mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
urisourcebin: Store slot info on the queue object too
The buffering message handling tries to look up the slot info on the queue itself.
This commit is contained in:
parent
2d3e69dca3
commit
8cb57a4fe8
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue