X-Git-Url: https://git.slaskete.net/python-gstreamer-examples/blobdiff_plain/e54cedc5dd480d947f7051b50184f4bb355a841b..761a0009f72d135a8f858553e46728a4274a2fb6:/example2%203.py/python-gstreamer-examples/blobdiff_plain/e54cedc5dd480d947f7051b50184f4bb355a841b..761a0009f72d135a8f858553e46728a4274a2fb6:/example2+3.py diff --git a/example2+3.py b/example2+3.py index 9a39c4e..7775b06 100755 --- a/example2+3.py +++ b/example2+3.py @@ -2,12 +2,11 @@ # Let's see if we can get a viewport AND audio working, combining ex. 2 and 3 # GdkX11 to get access to xid, GstVideo to get access to set_window_handle -import gi +import gi, signal gi.require_version('Gtk', '3.0') gi.require_version('Gst', '1.0') gi.require_version('GstVideo', '1.0') from gi.repository import Gtk, Gst, GdkX11, GstVideo -import signal class Main: def __init__(self):