avcfg: Override type of bitrate property from int64 to int
authorSebastian Dröge <sebastian@centricular.com>
Tue, 9 Apr 2019 13:56:20 +0000 (16:56 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 9 Apr 2019 13:56:20 +0000 (16:56 +0300)
commit935c21a9a966c1ed5a6c797ec4ab026db952823b
tree10b464ea3e0f51a89231bdc787c6b5f47615d272
parentb2cc8a57d4b1f9d7d399606d194a55583b3639df
avcfg: Override type of bitrate property from int64 to int

See https://gitlab.freedesktop.org/gstreamer/gst-libav/issues/41#note_142808

The switch to the new ffmpeg property system changed the type of the
bitrate property from int to int64, which potentially breaks many
existing applications at runtime as properties are usually set via
g_object_set().

As such, override the type to int until GStreamer 2.0.
ext/libav/gstavcfg.c