[Bug 642174] Playbin2 cannot work with non-raw custom sinks

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Feb 18 03:50:22 PST 2011


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

tskd2 changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #15 from tskd2 at yahoo.co.jp 2011-02-18 11:50:16 UTC ---
(In reply to comment #14)
> Not always, ....

If autoplug_continue_cb() and activate_group() are executed on separate
threads, then using recursive mutex is not different from normal mutex...
doesn't this still cause the probelm as in comment #12 ?

> Look at the code that calls group_set_locked_state_unlocked() in
> activate_group(). That has to be called after setting the state and needs to
> have the group and playbin lock.

I thought that changing the order of {set-state, allow-state-change, unlock}
into {allow-state-change, unlock, set-state} would be OK.
(I thought that set-state itself must not necessarily be protected by the
lock.)

Maybe I don't fully understand the problem.
Sorry to bother you many times due to a bit;) poor quality of my code.

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