mirror of https://github.com/xiph/flac
increase progress report rate with -p and -e used together (SF#1580122: http://sourceforge.net/tracker/index.php?func=detail&aid=1580122&group_id=13478&atid=113478)
This commit is contained in:
parent
144142b3fd
commit
45f20fdce0
|
@ -1992,7 +1992,10 @@ FLAC__bool EncoderSession_init_encoder(EncoderSession *e, encode_options_t optio
|
|||
else
|
||||
e->outputfile_opened = true;
|
||||
|
||||
e->stats_mask = (FLAC__stream_encoder_get_do_exhaustive_model_search(e->encoder) || FLAC__stream_encoder_get_do_qlp_coeff_prec_search(e->encoder))? 0x0f : 0x3f;
|
||||
e->stats_mask =
|
||||
(FLAC__stream_encoder_get_do_exhaustive_model_search(e->encoder) && FLAC__stream_encoder_get_do_qlp_coeff_prec_search(e->encoder))? 0x07 :
|
||||
(FLAC__stream_encoder_get_do_exhaustive_model_search(e->encoder) || FLAC__stream_encoder_get_do_qlp_coeff_prec_search(e->encoder))? 0x0f :
|
||||
0x3f;
|
||||
|
||||
if(0 != cuesheet)
|
||||
FLAC__metadata_object_delete(cuesheet);
|
||||
|
|
Loading…
Reference in New Issue