[Bug 783798] utils: Add a function to get a string representation of GstStateChange

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 15 07:12:46 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=783798

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #353778|none                        |needs-work
             status|                            |

--- Comment #4 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 353778:
 --> (https://bugzilla.gnome.org/review?bug=783798&attachment=353778)

Also thanks for adding this, I needed it a few times already :)

::: gst/gstutils.c
@@ +1284,3 @@
+      return "PAUSED to READY";
+    case GST_STATE_CHANGE_READY_TO_NULL:
+      return "READY to NULL";

This is not enough unfortunately: there are (valid!) state changes like
READY->READY, PAUSED->PAUSED, PLAYING->PLAYING, NULL->NULL

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