Commit 45de4234 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Geoffrey Métais

MediaPlayer: Fix double media retain

Signed-off-by: default avatarGeoffrey Métais <geoffrey.metais@gmail.com>
parent eb8dca85
......@@ -127,7 +127,7 @@ public:
auto media = libvlc_media_player_get_media(*this);
if ( media == nullptr )
return nullptr;
return std::make_shared<Media>( media, true );
return std::make_shared<Media>( media, false );
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment