GNOME Bugzilla – Bug 650675
clutter-media: mention the asynchronous behavior of set_playing()
Last modified: 2011-07-04 15:30:13 UTC
Created attachment 188224 [details] [review] Proposed patch Depending on the ClutterMedia implementation, the set_playing() call can be asynchronous, the playing state's change being not immediate. This is related to http://bugzilla.clutter-project.org/show_bug.cgi?id=2654
Review of attachment 188224 [details] [review]: it generally looks okay to me, aside from a couple of remarks that should be fixed prior to commit. ::: clutter/clutter-media.c @@ +285,3 @@ + * The implementation might be asynchronous, so the way to know + * the actual playing state of the @media is to use the #GObject::notify + * signal on the ::playing property and then retrieve the current state with the link should be #ClutterMedia:playing @@ +288,3 @@ + * clutter_media_get_playing(). + * + * (ClutterGstVideoTexture is an example of such an asynchronous implementation) don't use the parenthesis: it's fine as a remark on the previous paragraph.
I've pushed attachment 188224 [details] [review] after modifying it. thanks for the patch.
Oops, I forgot to fix the patch. Sorry...