plugins: factor out display creation process.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 13 Dec 2013 10:52:47 +0000 (11:52 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 18 Dec 2013 15:38:57 +0000 (16:38 +0100)
commit6f2dfb71e6a58c3988c1c8f3eeeeaea29973b656
tree41c1faf8326ea0010e8da0942005d40f5409e944
parent7e58d60854960d4d0561daeb88f575f1ddb656fd
plugins: factor out display creation process.

Move common VA display creation code to GstVaapiPluginBase, with the
default display type remaining "any". Also add a "display-changed"
hook so that subclasses could perform additional tasks when/if the
VA display changed, due to a new display type request for instance.

All plug-ins are updated to cope with the new internal APIs.
gst/vaapi/gstvaapidecode.c
gst/vaapi/gstvaapidownload.c
gst/vaapi/gstvaapiencode.c
gst/vaapi/gstvaapipluginbase.c
gst/vaapi/gstvaapipluginbase.h
gst/vaapi/gstvaapipluginutil.c
gst/vaapi/gstvaapipluginutil.h
gst/vaapi/gstvaapipostproc.c
gst/vaapi/gstvaapisink.c
gst/vaapi/gstvaapisink.h
gst/vaapi/gstvaapiupload.c