mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 15:08:48 +00:00
downloadbuffer: initialize upstream_size when activated in push mode
Push mode flow relies on upstream_size but it was not initialized when activated as it is when activated in pull mode. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7140>
This commit is contained in:
parent
a0ce51c2ba
commit
8d99e858ff
1 changed files with 1 additions and 0 deletions
|
@ -1730,6 +1730,7 @@ gst_download_buffer_src_activate_push (GstPad * pad, GstObject * parent,
|
|||
dlbuf->srcresult = GST_FLOW_OK;
|
||||
dlbuf->sinkresult = GST_FLOW_OK;
|
||||
dlbuf->unexpected = FALSE;
|
||||
dlbuf->upstream_size = -1;
|
||||
result =
|
||||
gst_pad_start_task (pad, (GstTaskFunction) gst_download_buffer_loop,
|
||||
pad, NULL);
|
||||
|
|
Loading…
Reference in a new issue