Commit 5a4e64fc authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

activex: Fix build

Copy paste is bad, and I should feel bad.
parent 62cf9225
......@@ -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 )
{
......
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