[MOVED FROM BAD 111/134] vp8enc: fix target bitrate config with libvpx 1.1.0
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 18 May 2012 11:46:55 +0000 (12:46 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 16 Sep 2012 13:30:22 +0000 (15:30 +0200)
commit01b86b6b2aefe11c334c53308b79e8ff23837166
treef465b8c2d0715cbbf165cd2a441d065e5d0c972a
parentfd598a8e3d64b4174a436c7233b727656b484c31
[MOVED FROM BAD 111/134] vp8enc: fix target bitrate config with libvpx 1.1.0

libvpx 1.1.0 disallows a bitrate of 0, which was used by
vp8enc as a default value.

Instead, we use the default libvpx bitrate, scaled to our
video size, if no bitrate was specified.

This fixes encoding VP8 video with libvpx 1.1.0.

https://bugzilla.gnome.org/show_bug.cgi?id=676245
ext/vp8/gstvp8enc.c