mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 17:45:38 +00:00
Fixed a Valgrind error in VideoVlcComponent.
This commit is contained in:
parent
2d5662780f
commit
5bc19fc723
|
@ -30,8 +30,12 @@
|
||||||
|
|
||||||
libvlc_instance_t* VideoVlcComponent::mVLC = nullptr;
|
libvlc_instance_t* VideoVlcComponent::mVLC = nullptr;
|
||||||
|
|
||||||
VideoVlcComponent::VideoVlcComponent(Window* window)
|
VideoVlcComponent::VideoVlcComponent(
|
||||||
: VideoComponent(window), mMediaPlayer(nullptr), mContext({})
|
Window* window)
|
||||||
|
: VideoComponent(window),
|
||||||
|
mMediaPlayer(nullptr),
|
||||||
|
mContext({}),
|
||||||
|
mHasSetAudioVolume(false)
|
||||||
{
|
{
|
||||||
// Get an empty texture for rendering the video.
|
// Get an empty texture for rendering the video.
|
||||||
mTexture = TextureResource::get("");
|
mTexture = TextureResource::get("");
|
||||||
|
|
Loading…
Reference in a new issue