Commit 2728fd90 authored by Mans Rullgard's avatar Mans Rullgard

regtest: simplify encoding functions

The video encoding options were needlessly split in two parameters
which are merged.  The do_audio_encoding function did not use its
second argument, so this can be removed.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 648e55ff
This diff is collapsed.
......@@ -121,13 +121,13 @@ do_video_decoding()
do_video_encoding()
{
file=${outfile}$1
do_ffmpeg $file $2 -f image2 -vcodec pgmyuv -i $raw_src $3
do_ffmpeg $file -f image2 -vcodec pgmyuv -i $raw_src $2
}
do_audio_encoding()
{
file=${outfile}$1
do_ffmpeg $file -ab 128k -ac 2 -f s16le -i $pcm_src $3
do_ffmpeg $file -ab 128k -ac 2 -f s16le -i $pcm_src $2
}
do_audio_decoding()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment