vaapidecode: improve "no free surface" conditions.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 11 Sep 2012 13:54:20 +0000 (15:54 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 11 Sep 2012 15:08:47 +0000 (17:08 +0200)
commit9afe700005ff47a6368734814fd58bbfaed62f04
treef77330871b31385f9634e25b24d732b16f52ed78
parent6c19849cd2d273fdc67b6e8f6befd17e1fbb68fc
vaapidecode: improve "no free surface" conditions.

Previously, vaapidecode would wait up to one second until a free surface
is available, or it aborts decoding. Now, vaapidecode waits until the
last decoded surface was to be presented, plus one second. Besides, end
times are now expressed relative to the monotonic clock.
gst/vaapi/gstvaapidecode.c
gst/vaapi/gstvaapidecode.h