Bug fixes :

- Incorrect strech in VideoComponent
- Reboved blank params in VideoVlcComponent
This commit is contained in:
hex007 2017-05-30 09:12:57 -07:00
parent bc68e0abb0
commit c32dee41ca
2 changed files with 1 additions and 5 deletions

View file

@ -89,8 +89,6 @@ void VideoComponent::setImage(std::string path)
return;
mStaticImage.setImage(path);
// Make the image stretch to fill the video region
mStaticImage.setSize(getSize());
mFadeIn = 0.0f;
mStaticImagePath = path;
}

View file

@ -231,9 +231,7 @@ void VideoVlcComponent::setupVLC()
// If VLC hasn't been initialised yet then do it now
if (!mVLC)
{
const char* args[] = { "--quiet", "", "", "" };
// check if we want to mute the audio
const char* args[] = { "--quiet" };
mVLC = libvlc_new(sizeof(args) / sizeof(args[0]), args);
}
}