vaapipostproc: don't crash with dynamic framerate (0/1).
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 19 Jun 2014 11:35:23 +0000 (13:35 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 19 Jun 2014 12:51:01 +0000 (14:51 +0200)
commit9d417815abec6b96b952d162b8eb2a1a2c2b4f4f
tree647a3bcf053ebf28113f684dc0c14e02b6f11c03
parent1a2c06a81cb7d78609b99b5906f528070da9cad6
vaapipostproc: don't crash with dynamic framerate (0/1).

Avoid reaching an assert if dynamic framerates (0/1) are used. One
way to solve this problem is to just stick field_duration to zero.
However, this means that, in presence of interlaced streams, the
very first field will never be displayed if precise presentation
timestamps are honoured.

https://bugzilla.gnome.org/show_bug.cgi?id=729604
gst/vaapi/gstvaapipostproc.c