Fix static initialization order fiasco in some plugins.
authorYoann Lopes <yoann.lopes@digia.com>
Tue, 3 Jun 2014 14:32:46 +0000 (16:32 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 6 Jun 2014 09:12:21 +0000 (11:12 +0200)
commiteadf1c8c41a41509a7c87b44d66b48cb8345acdb
tree3f05e4a81c6d6b8eb451c7c9cd63027b2781cccc
parent8a66559e0b7d94d6b2ffe613b61194407031730c
Fix static initialization order fiasco in some plugins.

Some static variables were initialized using QMediaMetaData
values, which are also statically initialized.

Task-number: QTBUG-39202
Change-Id: Ibedc0a77d96cdfa575aad122c4ec654e6830e1f7
Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
src/plugins/directshow/player/directshowmetadatacontrol.cpp
src/plugins/gstreamer/camerabin/camerabinmetadata.cpp
src/plugins/gstreamer/mediacapture/qgstreamercapturemetadatacontrol.cpp
src/plugins/gstreamer/mediaplayer/qgstreamermetadataprovider.cpp
src/plugins/gstreamer/mediaplayer/qgstreamermetadataprovider.h