Commit a2fa9288 authored by Jean-Paul Saman's avatar Jean-Paul Saman

davinci encoder more fixes

parent 13905341
......@@ -146,7 +146,7 @@ int OpenVideoEncoder( vlc_object_t *p_this )
params.maxFrameRate = p_enc->fmt_out.video.i_frame_rate_base ?
p_enc->fmt_out.video.i_frame_rate * 1000 /
p_enc->fmt_out.video.i_frame_rate_base :
p_enc->i_iframes * 1000; /* Frames per 1000 seconds */
25000; /* Frames per 1000 seconds */
params.maxBitRate = p_enc->fmt_out.i_bitrate
+ p_enc->i_tolerance;
......@@ -158,7 +158,7 @@ int OpenVideoEncoder( vlc_object_t *p_this )
(int)params.maxWidth, (int)params.maxHeight,
((float)params.maxFrameRate)/1000.,
((int)params.maxBitRate) / (8*1024),
(int)params.maxInterFrameInterval );
(int)p_enc->i_iframes );
if( params.inputChromaFormat == XDM_CHROMA_NA )
{
......
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