[gstreamer-bugs] [Bug 571559] [API] add GST_PARAM_MUTABLE_PLAYING etc. to indicate valid states for changing property

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Apr 14 12:29:32 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=571559

  GStreamer | gstreamer (core) | Ver: git




------- Comment #14 from David Schleef  2009-04-14 19:29 UTC -------
Inside set_property() functions in plugins, as in the filesrc part of the patch
above.

I suppose gst_param_spec_is_mutable() should not take the lock, since it should
be called with the lock held inside the critical section of set_property()
functions.  Fixing.

commit 8dd2b4b591b7650cfabad2ffc79af7f20d673012
Author: David Schleef <ds at schleef.org>
Date:   Tue Apr 14 12:20:37 2009 -0700

    Fix locking in gst_param_spec_is_mutable


Keep in mind that these flags are only advisory right now, so binding a
controller should only fail if MUTABLE_PAUSED or MUTABLE_READY is set, but not
MUTABLE_PLAYING.  If none are set, the old behavior (that is, "fail randomly")
should remain.

Somebody please save us from GObject properties in 0.11.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=571559.




More information about the Gstreamer-bugs mailing list