summaryrefslogtreecommitdiff
path: root/localvideodump
diff options
context:
space:
mode:
Diffstat (limited to 'localvideodump')
-rwxr-xr-xlocalvideodump7
1 files changed, 5 insertions, 2 deletions
diff --git a/localvideodump b/localvideodump
index 6a2e33c..59dfeed 100755
--- a/localvideodump
+++ b/localvideodump
@@ -109,5 +109,8 @@ done
voutargs=${vinputs:+-c:v $vcodec ${outrate:+-r $outrate}}
aoutargs=${ainputs:+-c:a $acodec}
-echo avconv $ainargs $vinargs $vmaps $amaps $voutargs $aoutargs -y "$output"
-exec avconv $ainargs $vinargs $vmaps $amaps $voutargs $aoutargs -y "$output"
+pasuspender=
+test ! -x /usr/bin/pasuspender | pasuspender=pasuspender
+
+echo $pasuspender avconv $ainargs $vinargs $vmaps $amaps $voutargs $aoutargs -y "$output"
+exec $pasuspender avconv $ainargs $vinargs $vmaps $amaps $voutargs $aoutargs -y "$output"