Created
July 8, 2013 20:35
-
-
Save sreimers/5952263 to your computer and use it in GitHub Desktop.
Gstreamer 1.0 Python Debug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gi | |
gi.require_version('Gst', '1.0') | |
from gi.repository import GObject, Gst | |
Gst.debug_set_active(True) | |
Gst.debug_set_default_threshold(3) | |
GObject.threads_init() | |
Gst.init(None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the reference, but just a small correction: the call to
Gst.init(None)
must come before theGst.debug_*
calls.