vaapidecode: rework GstVideoDecoder::handle_frame() with a task.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 18 Apr 2013 13:50:02 +0000 (15:50 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 18 Apr 2013 16:46:01 +0000 (18:46 +0200)
commit851cc000c25b02db491492a7903d8082d8b39ea4
tree233b50d7c3969b21547dabda54f4e3fbc6f9a9aa
parent9d8bac313febefdd6006135d54df43664b7d5076
vaapidecode: rework GstVideoDecoder::handle_frame() with a task.

Rework GstVideoDecoder::handle_frame() to decode the current frame,
while possibly waiting for a free surface, and separately submit all
decoded frames from a task. This makes it possible to pop and render
decoded frames as soon as possible.
gst-libs/gst/vaapi/gstcompat.h
gst/vaapi/gstvaapidecode.c