[vlc-commits] Request 2.0.x as a minimum

Jean-Baptiste Kempf git at videolan.org
Thu Aug 1 10:22:05 CEST 2013


npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug  1 10:21:36 2013 +0200| [e13892a7b2c72c3259bd73b42f2e0a54b3d909bd] | committer: Jean-Baptiste Kempf

Request 2.0.x as a minimum

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

 configure.ac     |    2 +-
 npapi/events.cpp |    2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8e3ac13..9fef9f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,7 +151,7 @@ glibc run-time.])
 dnl
 dnl libraries checks
 AC_PATH_XTRA
-PKG_CHECK_MODULES([LIBVLC], [libvlc >= 1.1.0], [
+PKG_CHECK_MODULES([LIBVLC], [libvlc >= 2.0.0], [
     LIBVLC_PREFIX=`pkg-config --variable=prefix libvlc`
     AC_SUBST(LIBVLC_PREFIX)])
 
diff --git a/npapi/events.cpp b/npapi/events.cpp
index eee8c64..79304ab 100644
--- a/npapi/events.cpp
+++ b/npapi/events.cpp
@@ -60,11 +60,9 @@ static void handle_changed_event(const libvlc_event_t* event, void *param)
     VlcPluginBase *plugin = (VlcPluginBase*)param;
     switch( event->type )
     {
-#ifdef LIBVLC120
         case libvlc_MediaPlayerBuffering:
             DOUBLE_TO_NPVARIANT(event->u.media_player_buffering.new_cache, npparam[0]);
             break;
-#endif
         case libvlc_MediaPlayerTimeChanged:
             DOUBLE_TO_NPVARIANT(event->u.media_player_time_changed.new_time, npparam[0]);
             break;



More information about the vlc-commits mailing list