[Bug 773546] vaapiencoders: race condition when multiple encoders

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 29 06:23:10 UTC 2016


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

--- Comment #31 from Hyunjun Ko <zzoon at igalia.com> ---
(In reply to Hyunjun Ko from comment #30)
> Created attachment 340959 [details] [review]
> vaapiencode: call ensure_encoder at start
> 
> Currently, specific encoder is created during set_format.
> This might lead to race condition when creating profiles with
> multiple encoders
> 
> This patch moves ensure_encoder to start method to ensure
> avoding this race condition.

If this would be acceptable, I think need to implement stop vmethod also.

-- 
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