vaapisink: ensure the uploader is setup for upstream allocated buffers.
authorZhao Halley <halley.zhao@intel.com>
Thu, 18 Apr 2013 11:49:42 +0000 (19:49 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 29 Aug 2013 17:36:06 +0000 (19:36 +0200)
commit45b4ba7df713f6396cf057e9bc4b8472b9b2fa71
treebd6d97d8c8e6af522cf145e4efd94265b9203f60
parent6d7b5eef7de474cfb9e30629ecfffa06cc56c47c
vaapisink: ensure the uploader is setup for upstream allocated buffers.

In GStreamer 0.10 builds, make sure that the GstVaapiUploader helper
is setup in case upstream elements allocate buffers themselves without
honouring our GstVaapiSink::bufer_alloc() hook.

In particular, this fixes support for OGG video streams with WebKit.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapisink.c