diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-05 17:04:46 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:14:20 +0200 |
commit | 6704008a4688fd9bd2cf277019694ed948ecdc5e (patch) | |
tree | 026e7b57e5961ad5f99e3640162d91b0687cd7b3 /cfg-common.h | |
parent | 95751ea3e4da4eb9ca0a001d8238614898283ced (diff) | |
download | mpv-6704008a4688fd9bd2cf277019694ed948ecdc5e.tar.bz2 mpv-6704008a4688fd9bd2cf277019694ed948ecdc5e.tar.xz |
stream_bluray: add unencrypted Blu-ray playback
Support for unencrypted Blu-ray playback through libbluray.
Use it through: mplayer br:////path/to/disc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31631 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r-- | cfg-common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h index fa5bf6533e..65eccd9cae 100644 --- a/cfg-common.h +++ b/cfg-common.h @@ -412,6 +412,15 @@ const m_option_t common_opts[] = { #endif /* CONFIG_DVDREAD */ OPT_INTPAIR("chapter", chapterrange, 0), OPT_INTRANGE("edition", edition_id, 0, -1, 8190), +#ifdef CONFIG_LIBBLURAY + {"bluray-device", &bluray_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, + {"bluray-angle", &bluray_angle, CONF_TYPE_INT, CONF_RANGE, 0, 999, NULL}, + {"bluray-chapter", &bluray_chapter, CONF_TYPE_INT, CONF_RANGE, 0, 999, NULL}, +#else + {"bluray-device", "MPlayer was compiled without libbluray support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, + {"bluray-angle", "MPlayer was compiled without libbluray support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, + {"bluray-chapter", "MPlayer was compiled without libbluray support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, +#endif /* CONFIG_LIBBLURAY */ {"dvdauth", "libcss is obsolete. Try libdvdread instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, {"dvdkey", "libcss is obsolete. Try libdvdread instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, |