vaapisink: always keep the last displayed buffer around.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 28 Jul 2014 08:09:34 +0000 (10:09 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 28 Jul 2014 08:12:49 +0000 (10:12 +0200)
commita26df804a6140be72fe9b75533530171235b7b6d
treeec20aa202dfc46c0c22885b623ed221dcc885e16
parent5ffa82b64cd1a45794d66fcd09b7ccc65eeec787
vaapisink: always keep the last displayed buffer around.

Always record the VA surface that is currently being rendered, no matter
the fact we are using texturedblit or overlay. That's because in some
occasions, we need to refresh or resize the displayed contents based on
new events. e.g. user-resized window.

Besides, it's simpler to track the last video buffer in GstVaapiSink than
through the base sink "last-sample".
gst/vaapi/gstvaapisink.c