Commit e13892a7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Request 2.0.x as a minimum

parent 47ea8c79
......@@ -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)])
......
......@@ -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;
......
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