mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
DVDKIT support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5820 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9ab8950460
commit
df99229f57
@ -39,11 +39,6 @@ int dvd_nav=0; /* use libdvdnav? */
|
|||||||
|
|
||||||
#ifdef USE_DVDREAD
|
#ifdef USE_DVDREAD
|
||||||
|
|
||||||
#include <dvdread/dvd_reader.h>
|
|
||||||
#include <dvdread/ifo_types.h>
|
|
||||||
#include <dvdread/ifo_read.h>
|
|
||||||
#include <dvdread/nav_read.h>
|
|
||||||
|
|
||||||
#define DVDREAD_VERSION(maj,min,micro) ((maj)*10000 + (min)*100 + (micro))
|
#define DVDREAD_VERSION(maj,min,micro) ((maj)*10000 + (min)*100 + (micro))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -208,10 +208,17 @@ int dvd_parse_chapter_range(struct config*, const char*);
|
|||||||
|
|
||||||
#ifdef USE_DVDREAD
|
#ifdef USE_DVDREAD
|
||||||
|
|
||||||
|
#ifdef USE_MPDVDKIT
|
||||||
|
#include "../libmpdvdkit/dvd_reader.h"
|
||||||
|
#include "../libmpdvdkit/ifo_types.h"
|
||||||
|
#include "../libmpdvdkit/ifo_read.h"
|
||||||
|
#include "../libmpdvdkit/nav_read.h"
|
||||||
|
#else
|
||||||
#include <dvdread/dvd_reader.h>
|
#include <dvdread/dvd_reader.h>
|
||||||
#include <dvdread/ifo_types.h>
|
#include <dvdread/ifo_types.h>
|
||||||
#include <dvdread/ifo_read.h>
|
#include <dvdread/ifo_read.h>
|
||||||
#include <dvdread/nav_read.h>
|
#include <dvdread/nav_read.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int id; // 0 - 31 mpeg; 128 - 159 ac3; 160 - 191 pcm
|
int id; // 0 - 31 mpeg; 128 - 159 ac3; 160 - 191 pcm
|
||||||
|
Loading…
Reference in New Issue
Block a user