[vlc-commits] [Git][videolan/npapi-vlc][master] parse: fix build with 2.2.x

Jean-Baptiste Kempf gitlab at videolan.org
Wed Nov 22 19:08:39 CET 2017


Jean-Baptiste Kempf pushed to branch master at videolan / VLC Browser Plugins


Commits:
25a5475c by Jean-Baptiste Kempf at 2017-11-22T19:08:26+01:00
parse: fix build with 2.2.x

- - - - -


1 changed file:

- common/vlc_player.cpp


Changes:

=====================================
common/vlc_player.cpp
=====================================
--- a/common/vlc_player.cpp
+++ b/common/vlc_player.cpp
@@ -155,9 +155,9 @@ int vlc_player::preparse_item_sync(unsigned int idx, int options, unsigned int t
 #else
     media->parse();
     if ( media->isParsed() )
-        retval = int( VLC::Media::ParsedStatus::Done );
+        retval = 4; /* int( VLC::Media::ParsedStatus::Done ); */
     else
-        retval = int( VLC::Media::ParsedStatus::Failed );
+        retval = 2; /* int( VLC::Media::ParsedStatus::Failed ); */
 #endif
 
     return retval;



View it on GitLab: https://code.videolan.org/videolan/npapi-vlc/commit/25a5475ceb65ba943f0ed5b3728d5b6cec29ef27

---
View it on GitLab: https://code.videolan.org/videolan/npapi-vlc/commit/25a5475ceb65ba943f0ed5b3728d5b6cec29ef27
You're receiving this email because of your account on code.videolan.org.


More information about the vlc-commits mailing list