summaryrefslogtreecommitdiff
path: root/avmedia/source
diff options
context:
space:
mode:
authorBartolomé Sánchez Salado <aliaselbarto@gmail.com>2012-02-25 19:34:35 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-02-27 14:21:36 +0000
commit55d52165df003d253d813f3ea7085f4d89fdb3ce (patch)
treec30eebd61c1d18aa6fc238c9c5036fb4993840f0 /avmedia/source
parent739252d04397a4fcf3f044de86e3bfaec0084c4d (diff)
Removed unused code.
Diffstat (limited to 'avmedia/source')
-rw-r--r--avmedia/source/gstreamer/gstplayer.cxx26
-rw-r--r--avmedia/source/gstreamer/gstplayer.hxx3
-rw-r--r--avmedia/source/quicktime/player.hxx3
-rw-r--r--avmedia/source/quicktime/player.mm34
-rw-r--r--avmedia/source/win/player.cxx31
-rw-r--r--avmedia/source/win/player.hxx3
6 files changed, 0 insertions, 100 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx
index fa1dcbdcadf9..ee5496545ed9 100644
--- a/avmedia/source/gstreamer/gstplayer.cxx
+++ b/avmedia/source/gstreamer/gstplayer.cxx
@@ -396,32 +396,6 @@ double SAL_CALL Player::getMediaTime( )
// ------------------------------------------------------------------------------
-void SAL_CALL Player::setStopTime( double /*fTime*/ )
- throw (uno::RuntimeException)
-{
- // TODO implement
-}
-
-// ------------------------------------------------------------------------------
-
-double SAL_CALL Player::getStopTime( )
- throw (uno::RuntimeException)
-{
- // Get the time at which to stop
-
- return 0;
-}
-
-// ------------------------------------------------------------------------------
-
-void SAL_CALL Player::setRate( double /*fRate*/ )
- throw (uno::RuntimeException)
-{
- // TODO set the window rate
-}
-
-// ------------------------------------------------------------------------------
-
double SAL_CALL Player::getRate( )
throw (uno::RuntimeException)
{
diff --git a/avmedia/source/gstreamer/gstplayer.hxx b/avmedia/source/gstreamer/gstplayer.hxx
index 0e04d67d7f91..b5d7d8365def 100644
--- a/avmedia/source/gstreamer/gstplayer.hxx
+++ b/avmedia/source/gstreamer/gstplayer.hxx
@@ -62,9 +62,6 @@ public:
virtual double SAL_CALL getDuration( ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setMediaTime( double fTime ) throw (::com::sun::star::uno::RuntimeException);
virtual double SAL_CALL getMediaTime( ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setStopTime( double fTime ) throw (::com::sun::star::uno::RuntimeException);
- virtual double SAL_CALL getStopTime( ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setRate( double fRate ) throw (::com::sun::star::uno::RuntimeException);
virtual double SAL_CALL getRate( ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setPlaybackLoop( sal_Bool bSet ) throw (::com::sun::star::uno::RuntimeException);
virtual sal_Bool SAL_CALL isPlaybackLoop( ) throw (::com::sun::star::uno::RuntimeException);
diff --git a/avmedia/source/quicktime/player.hxx b/avmedia/source/quicktime/player.hxx
index da9bbfc8ec8b..ec795fd5b5de 100644
--- a/avmedia/source/quicktime/player.hxx
+++ b/avmedia/source/quicktime/player.hxx
@@ -59,9 +59,6 @@ public:
virtual double SAL_CALL getDuration( ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setMediaTime( double fTime ) throw (::com::sun::star::uno::RuntimeException);
virtual double SAL_CALL getMediaTime( ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setStopTime( double fTime ) throw (::com::sun::star::uno::RuntimeException);
- virtual double SAL_CALL getStopTime( ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setRate( double fRate ) throw (::com::sun::star::uno::RuntimeException);
virtual double SAL_CALL getRate( ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setPlaybackLoop( sal_Bool bSet ) throw (::com::sun::star::uno::RuntimeException);
virtual sal_Bool SAL_CALL isPlaybackLoop( ) throw (::com::sun::star::uno::RuntimeException);
diff --git a/avmedia/source/quicktime/player.mm b/avmedia/source/quicktime/player.mm
index e4550a0f8d28..15c39e9f717c 100644
--- a/avmedia/source/quicktime/player.mm
+++ b/avmedia/source/quicktime/player.mm
@@ -226,40 +226,6 @@ double SAL_CALL Player::getMediaTime( )
// ------------------------------------------------------------------------------
-void SAL_CALL Player::setStopTime( double fTime )
- throw (uno::RuntimeException)
-{
- OSL_TRACE ("Player::setStopTime %f", fTime);
-
- mnStopTime = fTime;
-}
-
-// ------------------------------------------------------------------------------
-
-double SAL_CALL Player::getStopTime( )
- throw (uno::RuntimeException)
-{
- double fRet = mnStopTime;
-
- return fRet;
-}
-
-// ------------------------------------------------------------------------------
-
-void SAL_CALL Player::setRate( double fRate )
- throw (uno::RuntimeException)
-{
- OSL_TRACE ("Player::setRate");
-
- // Quicktime: 0 = stop, 1 = normal speed, 2 = double speed, -1 = normal speed backwards
- if ( mpMovie )
- {
- [mpMovie setRate: fRate];
- }
-}
-
-// ------------------------------------------------------------------------------
-
double SAL_CALL Player::getRate( )
throw (uno::RuntimeException)
{
diff --git a/avmedia/source/win/player.cxx b/avmedia/source/win/player.cxx
index c2dea25f22c0..338db97a0810 100644
--- a/avmedia/source/win/player.cxx
+++ b/avmedia/source/win/player.cxx
@@ -305,37 +305,6 @@ double SAL_CALL Player::getMediaTime( )
// ------------------------------------------------------------------------------
-void SAL_CALL Player::setStopTime( double fTime )
- throw (uno::RuntimeException)
-{
- if( mpMP )
- mpMP->put_StopTime( fTime );
-}
-
-// ------------------------------------------------------------------------------
-
-double SAL_CALL Player::getStopTime( )
- throw (uno::RuntimeException)
-{
- REFTIME aRefTime( 0.0 );
-
- if( mpMP )
- mpMP->get_StopTime( &aRefTime );
-
- return aRefTime;
-}
-
-// ------------------------------------------------------------------------------
-
-void SAL_CALL Player::setRate( double fRate )
- throw (uno::RuntimeException)
-{
- if( mpMP )
- mpMP->put_Rate( fRate );
-}
-
-// ------------------------------------------------------------------------------
-
double SAL_CALL Player::getRate( )
throw (uno::RuntimeException)
{
diff --git a/avmedia/source/win/player.hxx b/avmedia/source/win/player.hxx
index 7f87511209bd..debdeccee69f 100644
--- a/avmedia/source/win/player.hxx
+++ b/avmedia/source/win/player.hxx
@@ -75,9 +75,6 @@ public:
virtual double SAL_CALL getDuration( ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setMediaTime( double fTime ) throw (::com::sun::star::uno::RuntimeException);
virtual double SAL_CALL getMediaTime( ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setStopTime( double fTime ) throw (::com::sun::star::uno::RuntimeException);
- virtual double SAL_CALL getStopTime( ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setRate( double fRate ) throw (::com::sun::star::uno::RuntimeException);
virtual double SAL_CALL getRate( ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setPlaybackLoop( sal_Bool bSet ) throw (::com::sun::star::uno::RuntimeException);
virtual sal_Bool SAL_CALL isPlaybackLoop( ) throw (::com::sun::star::uno::RuntimeException);