Commit ce368ad0 authored by bcoudurier's avatar bcoudurier

allow user to specify muxrate

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16609 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1159c828
......@@ -445,7 +445,10 @@ static int mpegts_write_header(AVFormatContext *s)
total_bit_rate, ts->sdt_packet_freq, ts->pat_packet_freq);
#endif
ts->mux_rate = total_bit_rate;
if (s->mux_rate)
ts->mux_rate = s->mux_rate;
else
ts->mux_rate = total_bit_rate;
/* write info at the start of the file, so that it will be fast to
find them */
......
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