npapi-vlc | branch: master | Daniel Amm <[email protected]> | Thu May 21 
20:24:20 2015 +0200| [03a8665d3d86fbdaeb2ceeb42ca5d1e634c4d7cd] | committer: 
Jean-Baptiste Kempf

activex: fix typo

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=03a8665d3d86fbdaeb2ceeb42ca5d1e634c4d7cd
---

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

diff --git a/activex/vlccontrol2.cpp b/activex/vlccontrol2.cpp
index 84a4601..284228e 100644
--- a/activex/vlccontrol2.cpp
+++ b/activex/vlccontrol2.cpp
@@ -459,7 +459,7 @@ STDMETHODIMP VLCAudio::get_count(long* trackNumber)
     if( NULL == trackNumber )
         return E_POINTER;
 
-    *trackNumber = _plug->get_player().get_mp().audioTrack();
+    *trackNumber = _plug->get_player().get_mp().audioTrackCount();
 
     return S_OK;
 }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to