projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d3e69d
)
urisourcebin: Store slot info on the queue object too
author
Jan Schmidt
<jan@centricular.com>
Fri, 17 Mar 2017 13:06:02 +0000
(
00:06
+1100)
committer
Jan Schmidt
<jan@centricular.com>
Fri, 17 Mar 2017 15:03:47 +0000
(
02:03
+1100)
The buffering message handling tries to look up the
slot info on the queue itself.
gst/playback/gsturisourcebin.c
patch
|
blob
|
history
diff --git
a/gst/playback/gsturisourcebin.c
b/gst/playback/gsturisourcebin.c
index 715f861f141b5e095a93b463bb7bc5ef66416103..54ec197441bec178fb44de596810656f79c4b623 100644
(file)
--- 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;