summaryrefslogtreecommitdiff
path: root/avmedia/source/gstreamer/gstframegrabber.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/gstreamer/gstframegrabber.cxx')
-rw-r--r--avmedia/source/gstreamer/gstframegrabber.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/avmedia/source/gstreamer/gstframegrabber.cxx b/avmedia/source/gstreamer/gstframegrabber.cxx
index 36a73658a457..63a29ca00220 100644
--- a/avmedia/source/gstreamer/gstframegrabber.cxx
+++ b/avmedia/source/gstreamer/gstframegrabber.cxx
@@ -20,6 +20,8 @@
#include "gstframegrabber.hxx"
#include "gstplayer.hxx"
+#include <cppuhelper/supportsservice.hxx>
+
#include <gst/gstbuffer.h>
#include <gst/video/video.h>
#include <gst/video/gstvideosink.h>
@@ -210,7 +212,7 @@ OUString SAL_CALL FrameGrabber::getImplementationName( )
sal_Bool SAL_CALL FrameGrabber::supportsService( const OUString& ServiceName )
throw (uno::RuntimeException)
{
- return ServiceName == AVMEDIA_GST_FRAMEGRABBER_SERVICENAME;
+ return cppu::supportsService(this, ServiceName);;
}
uno::Sequence< OUString > SAL_CALL FrameGrabber::getSupportedServiceNames()