diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-05-23 16:14:30 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-05-23 22:08:33 +0200 |
commit | 4359ec6b0b89add9176df512fd50ba0d595c58db (patch) | |
tree | e271ecb69611179dc03e6e8a8f025a94e89e8b72 /avmedia/source/macavf/player.mm | |
parent | 4ec3554a80f065c2d9c957d6ce7f577fb195be02 (diff) |
avmedia: remove unused code related to fast-forward
One part of that was removed by:
55d52165df003d253d813f3ea7085f4d89fdb3ce
e.g. setRate()
Change-Id: Ia5def0150029c1597cd505bbaf740a42819a7c73
Diffstat (limited to 'avmedia/source/macavf/player.mm')
-rw-r--r-- | avmedia/source/macavf/player.mm | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/avmedia/source/macavf/player.mm b/avmedia/source/macavf/player.mm index 14f8a073336a..2c89239e60c5 100644 --- a/avmedia/source/macavf/player.mm +++ b/avmedia/source/macavf/player.mm @@ -268,30 +268,6 @@ double SAL_CALL Player::getStopTime() // ------------------------------------------------------------------------------ -void SAL_CALL Player::setRate( double fRate ) - throw (uno::RuntimeException) -{ - OSL_TRACE ("Player::setRate( %.3f)", fRate); - if( !mpPlayer ) - return; - - // playback rate: 0 = stop, 1 = normal speed, 2 = double speed, -1 = normal speed backwards - [mpPlayer setRate: fRate]; -} - -// ------------------------------------------------------------------------------ - -double SAL_CALL Player::getRate() - throw (uno::RuntimeException) -{ - // macavf: 0 = stop, 1 = normal speed, 2 = double speed, -1 = normal speed backwards - const double fRate = mpPlayer ? (double)[mpPlayer rate] : 1.0; - OSL_TRACE ("Player::getRate() = %.3f", fRate); - return fRate; -} - -// ------------------------------------------------------------------------------ - void SAL_CALL Player::setPlaybackLoop( sal_Bool bSet ) throw (uno::RuntimeException) { |