diff options
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/gstreamer/gstmanager.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.cxx | 3 | ||||
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.hxx | 4 |
3 files changed, 3 insertions, 6 deletions
diff --git a/avmedia/source/gstreamer/gstmanager.cxx b/avmedia/source/gstreamer/gstmanager.cxx index c6fda5eee71e..b2fe6eab0546 100644 --- a/avmedia/source/gstreamer/gstmanager.cxx +++ b/avmedia/source/gstreamer/gstmanager.cxx @@ -43,7 +43,7 @@ Manager::~Manager() uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const OUString& rURL ) throw (uno::RuntimeException, std::exception) { - Player* pPlayer( new Player( mxMgr ) ); + Player* pPlayer( new Player ); uno::Reference< media::XPlayer > xRet( pPlayer ); const INetURLObject aURL( rURL ); diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index a8888fd8235e..5a0125279476 100644 --- a/avmedia/source/gstreamer/gstplayer.cxx +++ b/avmedia/source/gstreamer/gstplayer.cxx @@ -278,9 +278,8 @@ void MissingPluginInstallerThread::execute() { // - Player - -Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) : +Player::Player() : GstPlayer_BASE( m_aMutex ), - mxMgr( rxMgr ), mpPlaybin( nullptr ), mbFakeVideo (false ), mnUnmutedVolume( 0 ), diff --git a/avmedia/source/gstreamer/gstplayer.hxx b/avmedia/source/gstreamer/gstplayer.hxx index 52095b0210e5..3f95a88b9599 100644 --- a/avmedia/source/gstreamer/gstplayer.hxx +++ b/avmedia/source/gstreamer/gstplayer.hxx @@ -43,7 +43,7 @@ class Player : public ::cppu::BaseMutex, { public: - explicit Player( const css::uno::Reference< css::lang::XMultiServiceFactory >& rxMgr ); + explicit Player(); virtual ~Player(); void preparePlaybin( const OUString& rURL, GstElement *pSink ); @@ -77,8 +77,6 @@ public: virtual void SAL_CALL disposing() override; protected: - css::uno::Reference< css::lang::XMultiServiceFactory > mxMgr; - OUString maURL; // Add elements and pipeline here |