[vlc-commits] activex: Fix build

Hugo Beauzée-Luyssen git at videolan.org
Thu Dec 10 18:11:29 CET 2015


npapi-vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Dec 10 18:10:54 2015 +0100| [5a4e64fc87ad25c3d17f9f9379799f5e8410ac59] | committer: Hugo Beauzée-Luyssen

activex: Fix build

Copy paste is bad, and I should feel bad.

> https://code.videolan.org/videolan/npapi-vlc/commit/5a4e64fc87ad25c3d17f9f9379799f5e8410ac59
---

 activex/vlccontrol2.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/activex/vlccontrol2.cpp b/activex/vlccontrol2.cpp
index 922a77b..ee32f38 100644
--- a/activex/vlccontrol2.cpp
+++ b/activex/vlccontrol2.cpp
@@ -701,7 +701,7 @@ STDMETHODIMP VLCInput::get_fps(double* fps)
 
     auto media = _plug->get_player().get_mp().media();
     if ( media == nullptr )
-        return INVOKERESULT_GENERIC_ERROR;
+        return E_FAIL;
     auto tracks = media->tracks();
     for ( const auto& t : tracks )
     {



More information about the vlc-commits mailing list