Commit 647aa514 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Require libbluray 0.3.0

parent 50229412
......@@ -1695,7 +1695,7 @@ AS_IF([test "${enable_dvdnav}" != "no"], [
dnl
dnl Blu-ray Disc Support with libbluray
dnl
PKG_ENABLE_MODULES_VLC([BLURAY], [libbluray], [libbluray >= 0.2.1], (libbluray for Blu-ray disc support ) )
PKG_ENABLE_MODULES_VLC([BLURAY], [libbluray], [libbluray >= 0.3.0], (libbluray for Blu-ray disc support ) )
dnl
dnl OpenCV wrapper and example filters
......
......@@ -3,7 +3,7 @@
ifdef BUILD_DISCS
PKGS += bluray
endif
ifeq ($(call need_pkg,"libbluray >= 0.2.1"),)
ifeq ($(call need_pkg,"libbluray >= 0.3.0"),)
PKGS_FOUND += bluray
endif
......
......@@ -205,9 +205,7 @@ static void blurayInitTitles(demux_t *p_demux, int menu_titles);
static int bluraySetTitle(demux_t *p_demux, int i_title);
static void blurayOverlayProc(void *ptr, const BD_OVERLAY * const overlay);
#if BLURAY_VERSION >= BLURAY_VERSION_CODE(0,3,0)
static void blurayArgbOverlayProc(void *ptr, const BD_ARGB_OVERLAY * const overlay);
#endif
static int onMouseEvent(vlc_object_t *p_vout, const char *psz_var,
vlc_value_t old, vlc_value_t val, void *p_data);
......@@ -401,11 +399,9 @@ static int blurayOpen(vlc_object_t *object)
goto error;
}
#if BLURAY_VERSION >= BLURAY_VERSION_CODE(0,3,0)
/* Register ARGB overlay handler for BD-J */
if (disc_info->num_bdj_titles)
bd_register_argb_overlay_proc(p_sys->bluray, p_demux, blurayArgbOverlayProc, NULL);
#endif
/* libbluray will start playback from "First-Title" title */
if (bd_play(p_sys->bluray) == 0)
......@@ -975,7 +971,6 @@ static void blurayOverlayProc(void *ptr, const BD_OVERLAY *const overlay)
}
}
#if BLURAY_VERSION >= BLURAY_VERSION_CODE(0,3,0)
/*
* ARGB overlay (BD-J)
*/
......@@ -1056,7 +1051,6 @@ static void blurayArgbOverlayProc(void *ptr, const BD_ARGB_OVERLAY *const overla
break;
}
}
#endif
static void bluraySendOverlayToVout(demux_t *p_demux)
{
......
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