[Bug 726020] avdec_h265: freezes when max-threads != 1

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Mar 11 15:20:05 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=726020
  GStreamer | gst-libav | git

Nicolas Dufresne <nicolas.dufresne> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas.dufresne at collabora.
                   |                            |co.uk

--- Comment #5 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-03-11 22:43:29 UTC ---
(In reply to comment #4)
> (In reply to comment #3)
> > So we should release the stream lock while calling avcodec_decode_video2().
> > Very similar to what we do in androidmedia or gst-omx.
> > 
> > Just needs checking after we get the lock again if anything relevant has
> > changed.
> 
> It seems all of the public API of videodecoder uses the stream lock, isn't it
> better than to solve this at videodecoder itself?

Yes, and this lock currently prevent buffers to come in while pushing. I had in
mind that the solution would be to reduce the scope of this lock, and protect
the internal list of the decoder with object lock. Though it seemed tricky due
to backward compatibility requirement.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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