diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-18 10:06:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-19 13:53:36 +0100 |
commit | 2c2d0c07b2120c5fe4333e7fed12bd59996c2972 (patch) | |
tree | aa71e3df5e52ef2710b40535f8692a98f9925f9f /avmedia | |
parent | 8960ecc689ce41cfaa40b65d75830d7491b06463 (diff) |
loplugin:unusedmethods
Change-Id: I3ffd9142fed98e4df75c2c28f8a025be3e8eb803
Reviewed-on: https://gerrit.libreoffice.org/46687
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/vlc/inc/wrapper/Player.hxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/vlcplayer.cxx | 16 | ||||
-rw-r--r-- | avmedia/source/vlc/vlcplayer.hxx | 3 | ||||
-rw-r--r-- | avmedia/source/vlc/wrapper/Player.cxx | 5 |
4 files changed, 0 insertions, 26 deletions
diff --git a/avmedia/source/vlc/inc/wrapper/Player.hxx b/avmedia/source/vlc/inc/wrapper/Player.hxx index 4931f08ac312..740390080d63 100644 --- a/avmedia/source/vlc/inc/wrapper/Player.hxx +++ b/avmedia/source/vlc/inc/wrapper/Player.hxx @@ -43,8 +43,6 @@ namespace wrapper int getTime() const; bool isPlaying() const; - float getRate() const; - void setVolume( int volume ); int getVolume() const; diff --git a/avmedia/source/vlc/vlcplayer.cxx b/avmedia/source/vlc/vlcplayer.cxx index a1e07da62b33..ec109eaa23dd 100644 --- a/avmedia/source/vlc/vlcplayer.cxx +++ b/avmedia/source/vlc/vlcplayer.cxx @@ -55,16 +55,6 @@ VLCPlayer::VLCPlayer( const rtl::OUString& url, mPlayer.setMouseHandling( false ); } -unsigned VLCPlayer::getWidth() const -{ - return mPlayer.getWidth(); -} - -unsigned VLCPlayer::getHeight() const -{ - return mPlayer.getHeight(); -} - void SAL_CALL VLCPlayer::start() { ::osl::MutexGuard aGuard(m_aMutex); @@ -92,12 +82,6 @@ double SAL_CALL VLCPlayer::getDuration() return static_cast<double>( mMedia.getDuration() ) / MS_IN_SEC; } -void VLCPlayer::setScale( float factor ) -{ - ::osl::MutexGuard aGuard(m_aMutex); - mPlayer.setScale( factor ); -} - void SAL_CALL VLCPlayer::setMediaTime( double fTime ) { ::osl::MutexGuard aGuard(m_aMutex); diff --git a/avmedia/source/vlc/vlcplayer.hxx b/avmedia/source/vlc/vlcplayer.hxx index 78fa06f4a251..a3d555842862 100644 --- a/avmedia/source/vlc/vlcplayer.hxx +++ b/avmedia/source/vlc/vlcplayer.hxx @@ -55,10 +55,7 @@ public: wrapper::EventHandler& eh ); void setVideoSize( unsigned width, unsigned height ); - unsigned getWidth() const; - unsigned getHeight() const; - void setScale( float factor ); void setWindowID( const intptr_t windowID ); void SAL_CALL start() override; diff --git a/avmedia/source/vlc/wrapper/Player.cxx b/avmedia/source/vlc/wrapper/Player.cxx index f54507db7d59..3102dcac92b0 100644 --- a/avmedia/source/vlc/wrapper/Player.cxx +++ b/avmedia/source/vlc/wrapper/Player.cxx @@ -204,11 +204,6 @@ namespace wrapper return libvlc_media_player_is_playing( mPlayer ) == 1; } - float Player::getRate() const - { - return libvlc_media_player_get_rate( mPlayer ); - } - void Player::setVolume( int volume ) { libvlc_audio_set_volume( mPlayer, volume ); |