mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 08:05:38 +00:00
commit
94b7d7e969
|
@ -89,8 +89,6 @@ void VideoComponent::setImage(std::string path)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
mStaticImage.setImage(path);
|
mStaticImage.setImage(path);
|
||||||
// Make the image stretch to fill the video region
|
|
||||||
mStaticImage.setSize(getSize());
|
|
||||||
mFadeIn = 0.0f;
|
mFadeIn = 0.0f;
|
||||||
mStaticImagePath = path;
|
mStaticImagePath = path;
|
||||||
}
|
}
|
||||||
|
|
|
@ -231,9 +231,7 @@ void VideoVlcComponent::setupVLC()
|
||||||
// If VLC hasn't been initialised yet then do it now
|
// If VLC hasn't been initialised yet then do it now
|
||||||
if (!mVLC)
|
if (!mVLC)
|
||||||
{
|
{
|
||||||
const char* args[] = { "--quiet", "", "", "" };
|
const char* args[] = { "--quiet" };
|
||||||
// check if we want to mute the audio
|
|
||||||
|
|
||||||
mVLC = libvlc_new(sizeof(args) / sizeof(args[0]), args);
|
mVLC = libvlc_new(sizeof(args) / sizeof(args[0]), args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue