plugins: add compat layer for GstVideoContext.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 22 May 2013 16:07:52 +0000 (12:07 -0400)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 27 Sep 2013 12:16:52 +0000 (14:16 +0200)
commitc67b783275a3b9bad1a26d6895ae2a51dd218456
treeb2a3b6f2a7b8b70a444b08a32acdc1da2f55d6c0
parentf75762d910097f0fe4f730fad3dc9ff1d4985438
plugins: add compat layer for GstVideoContext.

Add thin compatibility layer for the deprecated GstVideoContext API.
For GStreamer API >= 1.2, this involves the following two functions:
- gst_vaapi_video_context_prepare(): queries if a context is already
  set in the pipeline ;
- gst_vaapi_video_context_propagate(): propagates the newly-created
  context to the rest of the pipeline.

https://bugzilla.gnome.org/show_bug.cgi?id=703235

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/Makefile.am
gst/vaapi/gstvaapipluginutil.c
gst/vaapi/gstvaapivideocontext.c [new file with mode: 0644]
gst/vaapi/gstvaapivideocontext.h [new file with mode: 0644]