mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-03 14:40:38 +00:00
Merge remote-tracking branch 'cehoyos/master'
* cehoyos/master: Mention in the documentation that fieldmatch needs cfr input. Use v4l2 input format automatically if filename starts with "/dev/video" Print a warning if a subtitle demuxer changes utf16 to utf8. Do not set the lame quality if the user didn't request it. Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -106,9 +106,7 @@ static av_cold int mp3lame_encode_init(AVCodecContext *avctx)
|
||||
lame_set_out_samplerate(s->gfp, avctx->sample_rate);
|
||||
|
||||
/* algorithmic quality */
|
||||
if (avctx->compression_level == FF_COMPRESSION_DEFAULT)
|
||||
lame_set_quality(s->gfp, 5);
|
||||
else
|
||||
if (avctx->compression_level != FF_COMPRESSION_DEFAULT)
|
||||
lame_set_quality(s->gfp, avctx->compression_level);
|
||||
|
||||
/* rate control */
|
||||
|
||||
Reference in New Issue
Block a user