Commit e73852ca authored by Daniel Amm's avatar Daniel Amm Committed by Jean-Baptiste Kempf

npapi: fix return value

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5a4e64fc
...@@ -481,7 +481,7 @@ LibvlcInputNPObject::getProperty(int index, npapi::OutVariant& result) ...@@ -481,7 +481,7 @@ LibvlcInputNPObject::getProperty(int index, npapi::OutVariant& result)
if ( t.type() == VLC::MediaTrack::Type::Video ) if ( t.type() == VLC::MediaTrack::Type::Video )
{ {
result = (float)( (float)t.fpsNum() / (float)t.fpsDen() ); result = (float)( (float)t.fpsNum() / (float)t.fpsDen() );
return INVOKERESULT_GENERIC_ERROR; return INVOKERESULT_NO_ERROR;
} }
} }
result = 0.0f; result = 0.0f;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment