[vlc-devel] [PATCH] npapi: fix return value
Daniel Amm
da2424 at t-online.de
Fri Dec 11 13:59:39 CET 2015
---
npapi/npruntime/npolibvlc.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/npapi/npruntime/npolibvlc.cpp b/npapi/npruntime/npolibvlc.cpp
index b6c76e7..5a4a43b 100644
--- a/npapi/npruntime/npolibvlc.cpp
+++ b/npapi/npruntime/npolibvlc.cpp
@@ -481,7 +481,7 @@ LibvlcInputNPObject::getProperty(int index, npapi::OutVariant& result)
if ( t.type() == VLC::MediaTrack::Type::Video )
{
result = (float)( (float)t.fpsNum() / (float)t.fpsDen() );
- return INVOKERESULT_GENERIC_ERROR;
+ return INVOKERESULT_NO_ERROR;
}
}
result = 0.0f;
--
2.6.3.windows.1
More information about the vlc-devel
mailing list