[gstreamer-bugs] [Bug 571559] Add flags to element properties to indicate valid states for changing property

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Feb 13 01:19:25 PST 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 #2 from Sebastian Dröge  2009-02-13 09:19 UTC -------
Looks good and sounds like a good idea to add this :)
But you could simply check for <= _PAUSED, etc. instead of all the different
comparisons. Also you should probably handle GST_STATE_VOID_PENDING, which is
even smaller than _NULL ;)


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