summaryrefslogtreecommitdiff
path: root/avmedia/source/vlc/wrapper/Player.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/vlc/wrapper/Player.cxx')
-rw-r--r--avmedia/source/vlc/wrapper/Player.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/avmedia/source/vlc/wrapper/Player.cxx b/avmedia/source/vlc/wrapper/Player.cxx
index 2e4c3561ddd4..657dd23c07da 100644
--- a/avmedia/source/vlc/wrapper/Player.cxx
+++ b/avmedia/source/vlc/wrapper/Player.cxx
@@ -87,9 +87,8 @@ namespace VLC
}
Player::Player( const Player& other )
- : mPlayer( other.mPlayer )
{
- libvlc_media_player_retain( mPlayer );
+ operator=( other );
}
const Player& Player::operator=( const Player& other )