libvpxenc: Fix CQ encoding without a specified bitrate
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Aug 2012 15:34:30 +0000 (17:34 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Aug 2012 20:03:02 +0000 (22:03 +0200)
commitceb8773e168316b55c906e72650e1d3f197acebf
tree92302cadd9d538ffb7062b6da4ff19954e9a1c0d
parent1ee7a2955f3ebd49a34ab4b9880889c4e0b5e423
libvpxenc: Fix CQ encoding without a specified bitrate

Also print a warning if neither quality nor bitrate is specified
and use the libvpx default bitrate in this case.

The idea of using the default bitrate is from Luca Barbato
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libvpxenc.c