Michael Niedermayer <michaelni <at> gmx.at> writes: > > av_find_best_stream() currently cannot work for mpegvideo, > > attached patch takes rc_max_rate into account if no bitrate was set. > > > > Fixes ticket #2042. > > LGTM This patch was merged, I closed the ticket. Thank you, Carl Eugen