diff options
author | MaZderMind <github@mazdermind.de> | 2014-07-29 20:54:29 +0200 |
---|---|---|
committer | MaZderMind <github@mazdermind.de> | 2014-07-29 20:54:29 +0200 |
commit | eb7baef5bac14c001ef8b448dda05b464d68f99a (patch) | |
tree | 8aecc00321de20507ef6863aa1e9e1e452c8ae3b /voctocore/voctocore.py | |
parent | 13cdf5cf6fd699030b7fefa1d3b9d695f3bf3ec0 (diff) |
add missing renamed file
Diffstat (limited to 'voctocore/voctocore.py')
-rwxr-xr-x | voctocore/voctocore.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/voctocore/voctocore.py b/voctocore/voctocore.py new file mode 100755 index 0000000..dcab83d --- /dev/null +++ b/voctocore/voctocore.py @@ -0,0 +1,27 @@ +#!/usr/bin/python3 +import gi +import signal + +gi.require_version('Gst', '1.0') +from gi.repository import GLib, Gst, Gtk, GObject + +from videomix import Videomix +from controlserver import ControlServer + + + +class Main: + def __init__(self): + self.videomix = Videomix() + self.controlserver = ControlServer(self.videomix) + +def runmain(): + GObject.threads_init() + Gst.init(None) + + signal.signal(signal.SIGINT, signal.SIG_DFL) + start=Main() + Gtk.main() + +if __name__ == '__main__': + runmain() |