Skip to content

Commit dc33c9e

Browse files
committed
fix typo in timecode post-processing
1 parent 4ee5cdb commit dc33c9e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vrecord

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3171,14 +3171,13 @@ if [[ "${DEVICE_INPUT_CHOICE}" = 0 ]] ; then
31713171
fi
31723172

31733173
# make a timecode vtt
3174-
if [[ "$TIMECODEVTT_CHOICE}" = "true" ]] && [[ "${FORMAT}" = "Matroska" ]] && [[ -n "${TIMECODE_CHOICE}" ]] && [[ "${TIMECODE_CHOICE}" != "none" ]] ; then
3174+
if [[ "${TIMECODEVTT_CHOICE}" = "true" ]] && [[ "${FORMAT}" = "matroska" ]] && [[ -n "${TIMECODE_CHOICE}" ]] && [[ "${TIMECODE_CHOICE}" != "none" ]] ; then
31753175
_report -d "Working on the timecode vtt file..."
31763176
TIMECODEXML_TMP="$(_maketemp .mediatimecode.txt)"
31773177
TIMECODEXML_VTT="${LOGDIR}/${FULL_OUTPUT_ID}.timecode.vtt"
31783178
mediainfo --ParseSpeed=1 --Output=TimeCodeXML "${VRECORD_OUTPUT}" > "${TIMECODEXML_TMP}"
31793179
# need to test if timecode file has any data or not before committing to a vtt
31803180
timecodexml2webvtt "${TIMECODEXML_TMP}" > "${TIMECODEXML_VTT}"
3181-
_mv_tmp_file "${TIMECODEXML_TMP}" "${TIMECODEXML_VTT}"
31823181
fi
31833182
# check for discontinuities in the Frame MD5s; if user chose not to use Frame MD5s, check for frame discontinuties in the FFmpeg file
31843183
if [[ "${FRAMEMD5_CHOICE}" = "true" ]] ; then

0 commit comments

Comments
 (0)