Commit 6cff5834 authored by Fiona Glaser's avatar Fiona Glaser

Make the ffmpeg -vpre error message more descriptive

parent 3d96daca
......@@ -475,7 +475,10 @@ static int x264_validate_parameters( x264_t *h )
if( score >= 5 )
{
x264_log( h, X264_LOG_ERROR, "broken ffmpeg default settings detected\n" );
x264_log( h, X264_LOG_ERROR, "use an encoding preset (vpre)\n" );
x264_log( h, X264_LOG_ERROR, "use an encoding preset (e.g. -vpre medium)\n" );
x264_log( h, X264_LOG_ERROR, "preset usage: -vpre <speed> -vpre <profile>\n" );
x264_log( h, X264_LOG_ERROR, "speed presets are listed in x264 --help\n" );
x264_log( h, X264_LOG_ERROR, "profile is optional; x264 defaults to high\n" );
return -1;
}
}
......
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