decoder: fix semantics of SKIPPED pictures.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 28 Mar 2012 12:24:40 +0000 (14:24 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 28 Mar 2012 15:59:19 +0000 (17:59 +0200)
commita7ec623279b6f63633df8f6f54581d85fc5deb35
treeae4991a98cbe69d9a2d98b2a870dd99e64ec2bbc
parentb98d334dce30746df20787dfc8d0d7c4324ccaea
decoder: fix semantics of SKIPPED pictures.

If GstVaapiPicture has flag SKIPPED set, this means gst_vaapi_picture_output()
will not push the underlying surface for rendering. Besides, VC-1 skipped P-frame
has nothing to do with rendering. This only means that the currently decoded
picture is just a copy of its reference picture.
gst-libs/gst/vaapi/gstvaapidecoder_objects.c
gst-libs/gst/vaapi/gstvaapidecoder_objects.h
gst-libs/gst/vaapi/gstvaapidecoder_vc1.c