[Bug 684832] videodecoder: Takes stream lock in query function

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Sep 28 17:10:05 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=684832
  GStreamer | gst-plugins-base | 1.0.0

Olivier Crete (Tester) <olivier.crete> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #225183|0                           |1
        is obsolete|                            |

--- Comment #2 from Olivier Crete (Tester) <olivier.crete at ocrete.ca> 2012-09-29 00:10:01 UTC ---
Created an attachment (id=225366)
 View: https://bugzilla.gnome.org/attachment.cgi?id=225366
 Review: https://bugzilla.gnome.org/review?bug=684832&attachment=225366

videodecoder: Also use the object lock to protect the output_state

This is a much less invasive patch. Also probably makes 62c111f1e obsolete

Hold both the stream and the object lock to modify the output_state,
this way it can be safely modified while hold either one or the other.

Also, only hold the object lock in the query

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