decoder: dispose GstVideoCodecFrame earlier.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 15 Jul 2013 15:43:34 +0000 (17:43 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 15 Jul 2013 15:43:34 +0000 (17:43 +0200)
commitb358651fb3a6335624ebe04c5e6fe40dca5a1327
treee021f2e4b45f5a80bddc606a7c89d295a5bf799f
parent415e65a9802bfbc2d79aa43a6e55844922a635d7
decoder: dispose GstVideoCodecFrame earlier.

Once the picture was output, it is no longer necessary to keep an extra
reference to the underlying GstVideoCodecFrame. So, we can release it
earlier, and maybe subsequently release the associate surface proxy
earlier.
gst-libs/gst/vaapi/gstvaapidecoder_objects.c