From a420fd2adea0e5a0d3b8ff2034db036cb76e19bc Mon Sep 17 00:00:00 2001 From: Carl Karsten Date: Tue, 12 Apr 2016 16:58:37 -0500 Subject: minor cleanup --- clients/source/ingest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clients/source/ingest.py b/clients/source/ingest.py index 2b4c425..446f1a6 100755 --- a/clients/source/ingest.py +++ b/clients/source/ingest.py @@ -21,6 +21,7 @@ Gst.init([]) # this is kinda icky. sys.path.insert(0, '../..' ) +sys.path.insert(0, '.' ) import voctogui.lib.connection as Connection # import lib.clock as ClockManager @@ -53,7 +54,7 @@ def mk_video_src(args, videocaps): elif args.video_source == 'hdv': video_src = """ - hdv1394src do-timestamp=true name=videosrc {video_device} ! + hdv1394src {video_device} do-timestamp=true name=videosrc ! tsdemux name=demux! queue ! decodebin ! @@ -66,7 +67,7 @@ def mk_video_src(args, videocaps): elif args.video_source == 'hdmi2usb': video_src = """ - v4l2src device=%s name=videosrc ! + v4l2src {video_device} name=videosrc ! queue ! image/jpeg,width=1280,height=720 ! jpegdec ! -- cgit v1.2.3