[Bug 715192] videodecoder: Cannot accumulate buffer while downstream is blocked

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Sep 8 02:18:53 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=715192

--- Comment #38 from Nicolas Dufresne (ndufresne) <nicolas at ndufresne.ca> ---
Created attachment 373562
  --> https://bugzilla.gnome.org/attachment.cgi?id=373562&action=edit
videodecoder: Delete the link before pushing

The gst_video_decoder_clip_and_push_buf() now drops the internal stream
lock while pushing. This means, the output_queued list could be modififed
during that time. To make the code safe again, we delete the link before
pushing the data. The walk pointer will later be updated with the list
head, which makes it safe in case the list was modififed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list