Skip to content

Commit

Permalink
Fixed PAL options on passthrough
Browse files Browse the repository at this point in the history
This should make passthrough option work with PAL.
  • Loading branch information
privatezero committed Oct 2, 2015
1 parent e3c24a5 commit ef1cf6a
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions vrecord
Expand Up @@ -535,9 +535,21 @@ else
done
fi


if [[ "${standard_choice}" && "${standard_choice}" != "${undeclaredoption}" ]] ; then
lookup_standard "${standard_choice}"
else
report -q "Which standard?."
PS3="Select a video standard "
select standard_choice in "${standard_options[@]}" ; do
lookup_standard "${standard_choice}"
[ "${?}" -eq 0 ] && break
done
fi

if [[ "${runtype}" = "passthrough" ]] ; then
video_bitdepth=10
bmdcapture -m 0 -V "${video_input}" -A "${audio_input}" -c 8 -s 32 -p "${video_bitdepth}" -F nut -f pipe:1 | \
bmdcapture -m ${standard} -V "${video_input}" -A "${audio_input}" -c 8 -s 32 -p "${video_bitdepth}" -F nut -f pipe:1 | \
ffplay -v info -hide_banner -stats -i - \
-window_title "mode:${runtype} - video:'${video_input_choice}' audio:'${audio_input_choice}'" \
-vf "${playbackfilter}"
Expand Down Expand Up @@ -606,17 +618,6 @@ else
done
fi

if [[ "${standard_choice}" && "${standard_choice}" != "${undeclaredoption}" ]] ; then
lookup_standard "${standard_choice}"
else
report -q "Which standard?."
PS3="Select a video standard "
select standard_choice in "${standard_options[@]}" ; do
lookup_standard "${standard_choice}"
[ "${?}" -eq 0 ] && break
done
fi

if [[ "${framemd5}" = "Y" ]] ; then
extraoutputs+=(-an -f framemd5 "${dir}/${id}${suffix}.framemd5")
fi
Expand Down

0 comments on commit ef1cf6a

Please sign in to comment.