Skip to content

Commit cf8f9f8

Browse files
committed
add nostdin to timecode scanner
1 parent 4ff268c commit cf8f9f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vrecord

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1582,7 +1582,7 @@ _edit_mode(){
15821582
echo "Timecode Type | Timecode Value"
15831583
echo "--------------|---------------"
15841584
for timecode_type in "${TIMECODE_OPTIONS[@]}" ; do
1585-
tc_value="$("${FFMPEG_BIN}" -timecode_format "${timecode_type}" "${GRAB_INPUT[@]}" -loglevel info 2>&1 | grep " timecode " | cut -d ":" -f2- | sed 's/ //g')"
1585+
tc_value="$("${FFMPEG_BIN}" -nostdin -timecode_format "${timecode_type}" "${GRAB_INPUT[@]}" -loglevel info 2>&1 | grep " timecode " | cut -d ":" -f2- | sed 's/ //g')"
15861586
printf " %-11s | %-12s \n" "${timecode_type}" "${tc_value:-none}"
15871587
done
15881588
echo "--------------|---------------"

0 commit comments

Comments
 (0)