summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Karsten <carl@personnelware.com>2016-04-12 16:58:37 -0500
committerCarl Karsten <carl@personnelware.com>2016-04-12 16:58:37 -0500
commita420fd2adea0e5a0d3b8ff2034db036cb76e19bc (patch)
treee7b8459a3d5e5764e64a014be0c1cad39df53a8c
parent0657739a8ac19a57b8a72cb485f4574378a63f75 (diff)
minor cleanup
-rwxr-xr-xclients/source/ingest.py5
1 files 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 !