gstreamer/gst-libs/gst
Víctor Manuel Jáquez Leal daff4e9fbd libs: encoder: vp8: fix frame rate calculation
According to the VA documentation:

     The framerate is specified as a number of frames per second,
     as a fraction.  The denominator of the fraction is given in
     the top half (the high two bytes) of the framerate field, and
     the numerator is given in the bottom half (the low two bytes).

     For example, if framerate is set to (100 << 16 | 750), this is
     750 / 100, hence 7.5fps.

     If the denominator is zero (the high two bytes are both zero)
     then it takes the value one instead, so the framerate is just
     the integer in the low 2 bytes.

This patch fixes the the framerate calculation in vp8 encoder
according to this.

https://bugzilla.gnome.org/show_bug.cgi?id=783449
2017-06-07 11:24:38 +02:00
..
base vaapi: add meson build 2017-02-09 11:27:44 +01:00
vaapi libs: encoder: vp8: fix frame rate calculation 2017-06-07 11:24:38 +02:00
Makefile.am Remove codecparsers submodule 2016-01-19 12:49:11 +01:00
meson.build vaapi: add meson build 2017-02-09 11:27:44 +01:00