Changeset 6f6396b634e7b2e3269b3e17d672d46117898694

Show
Ignore:
Timestamp:
25/03/08 12:02:39 (8 months ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1206442959 +0100
git-parent:

[571c3e12bbc8ee80a8cbeda3df13c8fd7c303fa7]

git-author:
Jean-Paul Saman <jpsaman@videolan.org> 1205941215 +0100
Message:

Set rc_qsquish=1 in AVContext when b_strict is used. This uses a nice continous function to limit qscale within qmin/qmax.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/codec/ffmpeg/encoder.c

    r0274be8 r6f6396b  
    474474        if ( p_sys->b_strict_rc ) 
    475475        { 
     476            p_context->rc_qsquish = 1.0; 
    476477            p_context->rc_max_rate = p_enc->fmt_out.i_bitrate; 
    477478            p_context->rc_min_rate = p_enc->fmt_out.i_bitrate;