From c32dee41caad5751071af4dff49773dad8b0f8c9 Mon Sep 17 00:00:00 2001 From: hex007 Date: Tue, 30 May 2017 09:12:57 -0700 Subject: [PATCH] Bug fixes : - Incorrect strech in VideoComponent - Reboved blank params in VideoVlcComponent --- es-core/src/components/VideoComponent.cpp | 2 -- es-core/src/components/VideoVlcComponent.cpp | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/es-core/src/components/VideoComponent.cpp b/es-core/src/components/VideoComponent.cpp index f940ea86a..0edae8deb 100644 --- a/es-core/src/components/VideoComponent.cpp +++ b/es-core/src/components/VideoComponent.cpp @@ -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; } diff --git a/es-core/src/components/VideoVlcComponent.cpp b/es-core/src/components/VideoVlcComponent.cpp index 47853e97f..5e1be839c 100644 --- a/es-core/src/components/VideoVlcComponent.cpp +++ b/es-core/src/components/VideoVlcComponent.cpp @@ -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); } }