diff options
author | Toby Tomkins <toby.tomkins@nokia.com> | 2012-06-21 13:37:23 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-25 06:39:04 +0200 |
commit | 6d301388e1484c55c4f715d26c136c91d1b5dea9 (patch) | |
tree | fe4c1c477c8d76e87e9045e61018cb684a1cebe5 /src/gsttools | |
parent | d006d874ba3af22edb4e4a891a066ba4454e06eb (diff) |
Fix namespace compilation.
Change-Id: Id8d71a48df20da16647834e8f9732012f26f928f
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/gsttools')
-rw-r--r-- | src/gsttools/qgstreamervideowidget.cpp | 4 | ||||
-rw-r--r-- | src/gsttools/qvideosurfacegstsink.cpp | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/gsttools/qgstreamervideowidget.cpp b/src/gsttools/qgstreamervideowidget.cpp index 9c56a06de..5910372e1 100644 --- a/src/gsttools/qgstreamervideowidget.cpp +++ b/src/gsttools/qgstreamervideowidget.cpp @@ -54,6 +54,8 @@ #include <gst/interfaces/xoverlay.h> #include <gst/interfaces/propertyprobe.h> +QT_BEGIN_NAMESPACE + class QGstreamerVideoWidget : public QWidget { public: @@ -350,3 +352,5 @@ void QGstreamerVideoWidgetControl::setSaturation(int saturation) emit saturationChanged(saturation); } } + +QT_END_NAMESPACE diff --git a/src/gsttools/qvideosurfacegstsink.cpp b/src/gsttools/qvideosurfacegstsink.cpp index afbc69c92..0347c168c 100644 --- a/src/gsttools/qvideosurfacegstsink.cpp +++ b/src/gsttools/qvideosurfacegstsink.cpp @@ -57,6 +57,8 @@ //#define DEBUG_VIDEO_SURFACE_SINK +QT_BEGIN_NAMESPACE + Q_GLOBAL_STATIC_WITH_ARGS(QMediaPluginLoader, bufferPoolLoader, (QGstBufferPoolInterface_iid, QLatin1String("video/bufferpool"), Qt::CaseInsensitive)) @@ -895,3 +897,4 @@ GstFlowReturn QVideoSurfaceGstSink::render(GstBaseSink *base, GstBuffer *buffer) return sink->delegate->render(buffer); } +QT_END_NAMESPACE |