gstreamer/gst-libs/gst/vaapi
Gwenole Beauchesne 18031dc6ff surface: fix memory leak through unreleased parent context.
Break the circular references between GstVaapiContext and its children
GstVaapiSurfaces. Since the VA surfaces held an extra reference to the
context, which holds a reference to its VA surfaces, then none of those
were released.

How does this impact support for subpictures?

The only situation when the parent context needs to disappear is when
it is replaced with another one because of a resolution change in the
video stream for instance, or a normal destroy. In this case, it does
not really matter to apply subpictures to the peer surfaces since they
are either gone, or those that are left in the pipe can probably bear
a reinstantiation of the subpictures for it.

So, parent_context is set to NULL when the parent context is destroyed,
other VA surfaces can still get subpictures attached to them, individually
not as a whole. i.e. subpictures for surface S1 will be created from
active composition buffers and associated to S1, subpictures for S2 will
be created from the next active composition buffers, etc. We don't try
to cache the subpictures in those cases (pending surfaces until EOS
is reached, or pending surfaces until new surfaces matching new VA context
get to be used instead).
2013-05-30 19:32:58 +02:00
..
glibcompat.h glibcompat: add replacement for g_async_queue_timeout_pop(). 2013-01-31 11:30:35 +01:00
gstcompat.h vaapidecode: rework GstVideoDecoder::handle_frame() with a task. 2013-04-18 18:46:01 +02:00
gstvaapicodec_objects.c libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapicodec_objects.h Port codec objects to GstVaapiMiniObject. 2012-12-18 15:31:51 +01:00
gstvaapicompat.h legal: add Intel copyright on modified files. 2013-01-29 14:00:04 +01:00
gstvaapicontext.c libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapicontext.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapidebug.h legal: fix copyright notices to include "Copyright" term. 2012-01-16 11:40:51 +01:00
gstvaapidecoder.c libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapidecoder.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapidecoder_dpb.c libs: refine GstVaapiMiniObject. 2013-05-07 17:51:27 +02:00
gstvaapidecoder_dpb.h legal: fix year for some copyright notices (2013). 2013-01-29 14:37:02 +01:00
gstvaapidecoder_h264.c libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapidecoder_h264.h libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapidecoder_jpeg.c libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapidecoder_jpeg.h libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapidecoder_mpeg2.c libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapidecoder_mpeg2.h libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapidecoder_mpeg4.c libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapidecoder_mpeg4.h libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapidecoder_objects.c libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapidecoder_objects.h legal: fix year for some copyright notices (2013). 2013-01-29 14:37:02 +01:00
gstvaapidecoder_priv.h libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapidecoder_unit.c decoder: get rid of GstVaapiDecoderUnit::buffer field. 2013-03-21 13:44:59 +01:00
gstvaapidecoder_unit.h decoder: get rid of GstVaapiDecoderUnit::buffer field. 2013-03-21 13:44:59 +01:00
gstvaapidecoder_vc1.c libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapidecoder_vc1.h libs: use GstVaapiMiniObject for video decoders. 2013-05-07 17:51:27 +02:00
gstvaapidisplay.c libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapidisplay.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapidisplay_drm.c display: validate display types. 2013-05-27 17:20:35 +02:00
gstvaapidisplay_drm.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapidisplay_drm_priv.h display: validate display types. 2013-05-27 17:20:35 +02:00
gstvaapidisplay_glx.c display: make it possible to lookup the display cache by type. 2013-05-27 16:07:15 +02:00
gstvaapidisplay_glx.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapidisplay_glx_priv.h display: validate display types. 2013-05-27 17:20:35 +02:00
gstvaapidisplay_priv.h display: validate display types. 2013-05-27 17:20:35 +02:00
gstvaapidisplay_wayland.c display: validate display types. 2013-05-27 17:20:35 +02:00
gstvaapidisplay_wayland.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapidisplay_wayland_priv.h display: validate display types. 2013-05-27 17:20:35 +02:00
gstvaapidisplay_x11.c display: validate display types. 2013-05-27 17:20:35 +02:00
gstvaapidisplay_x11.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapidisplay_x11_priv.h display: validate display types. 2013-05-27 17:20:35 +02:00
gstvaapidisplaycache.c display: make it possible to lookup the display cache by type. 2013-05-27 16:07:15 +02:00
gstvaapidisplaycache.h display: make it possible to lookup the display cache by type. 2013-05-27 16:07:15 +02:00
gstvaapiimage.c libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapiimage.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapiimageformat.c Allow build against either GStreamer API (0.10 or 1.0). 2013-04-10 14:58:17 +02:00
gstvaapiimageformat.h image: add gst_vaapi_image_format_from_structure() helper. 2013-03-20 18:30:09 +01:00
gstvaapiimagepool.c libs: add query for GstVaapiVideoPool object types. 2013-05-23 19:01:34 +02:00
gstvaapiimagepool.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapiminiobject.c libs: refine GstVaapiMiniObject. 2013-05-07 17:51:27 +02:00
gstvaapiminiobject.h libs: refine GstVaapiMiniObject. 2013-05-07 17:51:27 +02:00
gstvaapiobject.c libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapiobject.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapiobject_priv.h Port GstVaapiObject to GstVaapiMiniObject. 2013-05-07 17:51:27 +02:00
gstvaapiparser_frame.c decoder: rename GstVaapiDecoderFrame to GstVaapiParserFrame. 2013-04-16 19:11:02 +02:00
gstvaapiparser_frame.h decoder: rename GstVaapiDecoderFrame to GstVaapiParserFrame. 2013-04-16 19:11:02 +02:00
gstvaapiprofile.c Allow build against either GStreamer API (0.10 or 1.0). 2013-04-10 14:58:17 +02:00
gstvaapiprofile.h legal: fix year for some copyright notices (2013). 2013-01-29 14:37:02 +01:00
gstvaapisubpicture.c libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapisubpicture.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapisurface.c surface: fix memory leak through unreleased parent context. 2013-05-30 19:32:58 +02:00
gstvaapisurface.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapisurface_priv.h legal: fix year for some copyright notices (2012). 2013-01-29 14:37:02 +01:00
gstvaapisurfacepool.c libs: add query for GstVaapiVideoPool object types. 2013-05-23 19:01:34 +02:00
gstvaapisurfacepool.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapisurfaceproxy.c libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapisurfaceproxy.h surfaceproxy: add more attributes for raw decoding modes. 2013-04-16 19:07:24 +02:00
gstvaapisurfaceproxy_priv.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapitexture.c display: validate display types. 2013-05-27 17:20:35 +02:00
gstvaapitexture.h libs: use GstVaapiObject for texture objects. 2013-05-07 17:51:27 +02:00
gstvaapitypes.h libs: simplify GstVaapiID definitions. 2013-05-07 18:19:03 +02:00
gstvaapiutils.c legal: fix year for some copyright notices (2013). 2013-01-29 14:37:02 +01:00
gstvaapiutils.h legal: fix year for some copyright notices (2013). 2013-01-29 14:37:02 +01:00
gstvaapiutils_glx.c libs: use glib >= 2.32 semantics for mutexes. 2012-12-17 14:33:45 +01:00
gstvaapiutils_glx.h legal: add Intel copyright on modified files. 2013-01-29 14:00:04 +01:00
gstvaapiutils_x11.c legal: fix year for some copyright notices (2012). 2013-01-29 14:37:02 +01:00
gstvaapiutils_x11.h legal: add Intel copyright on modified files. 2013-01-29 14:00:04 +01:00
gstvaapivalue.c libs: drop obsolete function helpers and objects. 2013-05-07 17:51:27 +02:00
gstvaapivalue.h libs: drop obsolete function helpers and objects. 2013-05-07 17:51:27 +02:00
gstvaapiversion.h.in display: dump gstreamer-vaapi version for debugging purposes. 2013-01-18 14:49:15 +01:00
gstvaapivideopool.c libs: add query for GstVaapiVideoPool object types. 2013-05-23 19:01:34 +02:00
gstvaapivideopool.h libs: add query for GstVaapiVideoPool object types. 2013-05-23 19:01:34 +02:00
gstvaapivideopool_priv.h libs: add query for GstVaapiVideoPool object types. 2013-05-23 19:01:34 +02:00
gstvaapiwindow.c libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapiwindow.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapiwindow_drm.c display: validate display types. 2013-05-27 17:20:35 +02:00
gstvaapiwindow_drm.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapiwindow_glx.c window: fix GLX window initialization. 2013-05-27 17:21:10 +02:00
gstvaapiwindow_glx.h libs: use GstVaapiObject for window objects. 2013-05-07 17:51:27 +02:00
gstvaapiwindow_priv.h libs: use GstVaapiObject for window objects. 2013-05-07 17:51:27 +02:00
gstvaapiwindow_wayland.c display: validate display types. 2013-05-27 17:20:35 +02:00
gstvaapiwindow_wayland.h libs: use GstVaapiObject for window objects. 2013-05-07 17:51:27 +02:00
gstvaapiwindow_x11.c display: validate display types. 2013-05-27 17:20:35 +02:00
gstvaapiwindow_x11.h libs: drop GST_VAAPI_IS_xxx() helper macros. 2013-05-23 18:15:48 +02:00
gstvaapiwindow_x11_priv.h libs: use GstVaapiObject for window objects. 2013-05-07 17:51:27 +02:00
gstvaapiworkarounds.h profile: match video/x-h263 as H.263 Baseline profile. 2012-01-24 10:15:00 +01:00
Makefile.am libs: drop obsolete function helpers and objects. 2013-05-07 17:51:27 +02:00
sysdeps.h sysdeps: split out GStreamer API compatibility glue to "gstcompat.h". 2013-03-20 18:30:09 +01:00