Added loading of video node factories from plugins
authorJonas Rabbe <jonas.rabbe@nokia.com>
Mon, 6 Feb 2012 00:55:59 +0000 (10:55 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 8 Feb 2012 03:38:16 +0000 (04:38 +0100)
commit6de7c3104006c3aa919a697bc94ec99a3f0c4140
tree6c3a264f2adc265d39f4c1359619e63194b90fda
parenta94c8a1ac26f4a5a79d63672d21538d016bc09f4
Added loading of video node factories from plugins

This change will allow us to add new video node factories that
can be loaded dynamically at runtime.

The previous video node factories, I420 and RGB have been kept
as static parts of the Qt Multimedia imports, but can be moved
to plugins at a later date.

For plugins to be able to find and use QSGVideoNode, the class
has to be exported.

Change-Id: Idbead9a8ad33619cebe90fcec92eb29cf52ae9bd
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
12 files changed:
src/imports/multimedia/multimedia.pro
src/imports/multimedia/qdeclarativevideooutput.cpp
src/imports/multimedia/qdeclarativevideooutput_p.h
src/imports/multimedia/qsgvideonode_i420.cpp
src/imports/multimedia/qsgvideonode_i420.h
src/imports/multimedia/qsgvideonode_rgb.cpp
src/imports/multimedia/qsgvideonode_rgb.h
src/multimedia/qtmultimediaquicktools_headers/qsgvideonode_p.h [moved from src/imports/multimedia/qsgvideonode_p.h with 83% similarity]
src/multimedia/qtmultimediaquicktools_headers/qtmultimediaquickdefs_p.h [new file with mode: 0644]
src/qtmultimediaquicktools/qsgvideonode_p.cpp [moved from src/imports/multimedia/qsgvideonode.cpp with 99% similarity]
src/qtmultimediaquicktools/qtmultimediaquicktools.pro [new file with mode: 0644]
src/src.pro