summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-23 16:41:52 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-12-24 07:28:28 +0000
commite3a31fcca771432a38e4c2e7cc4c4c6c1c157ee9 (patch)
tree0de9af64a417624e779a6080825d50f55e448119 /avmedia
parent4dfba3b59021f55957fc486531f8fdc67cc307b0 (diff)
loplugin:unusedfields
Change-Id: I979592adb978c3757a1e54615021ee424a2e02bf Reviewed-on: https://gerrit.libreoffice.org/20892 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/gstreamer/gstmanager.cxx2
-rw-r--r--avmedia/source/gstreamer/gstplayer.cxx3
-rw-r--r--avmedia/source/gstreamer/gstplayer.hxx4
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