From c9c8c034951d8fc59cb32cca283d779c3112fb4c Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 16 Oct 2012 22:09:53 +0200 Subject: fixed audio,video device selection --- src/flufigut.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/flufigut.py b/src/flufigut.py index 2a81fe2..651d8fb 100755 --- a/src/flufigut.py +++ b/src/flufigut.py @@ -121,6 +121,8 @@ for format in transcode.keys(): samplerates.append(samplerate) for profile in transcode[format]: if 'video' in globals['profiles'][profile]: + if input_resolution == "": + raise SystemExit("format definition needs video but no video input given") resolution = globals['profiles'][profile]['video'] if resolution not in resolutions: if input_resolution != resolution: -- cgit v1.2.3