Skip to content

Commit 5cf8f76

Browse files
authored
Merge pull request #997 from amiaopensource/fix-file-input-passthrough
don't use timecode_format on faux inputs
2 parents 49867ee + 27bb32b commit 5cf8f76

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

vrecord

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,9 @@ _setup_vrecord_process(){
665665
FFPLAY_OPTIONS+=(-f lavfi "amovie='pipe\:0',${PLAYBACKFILTER}")
666666
else
667667
if [[ "${VRECORD_STEPS}" = "1" ]] ; then
668-
FFPLAY_OPTIONS+=(-timecode_format all)
668+
if [[ "${SIGNAL_INPUT}" != 'true' ]] && [[ -z "${ALT_INPUT}" ]] ; then
669+
FFPLAY_OPTIONS+=(-timecode_format all)
670+
fi
669671
FFPLAY_OPTIONS+=("${GRAB_INPUT[@]}")
670672
else
671673
FFPLAY_OPTIONS+=(-i -)

0 commit comments

Comments
 (0)