Commit 45f20fdc authored by Josh Coalson's avatar Josh Coalson
Browse files

increase progress report rate with -p and -e used together (SF#1580122:...

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)
parent 144142b3
......@@ -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);
......
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