[vlc-commits] parse: fix build with 2.2.x

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


npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Nov 22 19:08:26 2017 +0100| [25a5475ceb65ba943f0ed5b3728d5b6cec29ef27] | committer: Jean-Baptiste Kempf

parse: fix build with 2.2.x

> https://code.videolan.org/videolan/npapi-vlc/commit/25a5475ceb65ba943f0ed5b3728d5b6cec29ef27
---

 common/vlc_player.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/vlc_player.cpp b/common/vlc_player.cpp
index 46e393a..790db4d 100644
--- 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;



More information about the vlc-commits mailing list