Commit 1213aa10 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Go back to libvlc 1.1.x for the time being

parent 5a9f1bba
......@@ -106,7 +106,7 @@ glibc run-time.])
])
AC_PATH_XTRA
PKG_CHECK_MODULES([LIBVLC], [libvlc >= 1.2.0])
PKG_CHECK_MODULES([LIBVLC], [libvlc >= 1.1.0])
AC_ARG_WITH(mozilla-sdk-path,
......
......@@ -157,9 +157,11 @@ static void handle_changed_event(const libvlc_event_t* event, void *param)
VlcPlugin *plugin = (VlcPlugin*)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