Mercurial > mplayer.hg
annotate dvdread/Makefile @ 25210:92204ff32b27
When IFO file is opened (detected by extension), set dvd-device to IFO file's
directory and start dvd:// stream instead of file://.
If VTS_<N>_*.IFO is opened, open stream as dvd://<N>
As Nico Sabbi said:
There is no no guarantie that title N is in titleset N,
but there are at least good chances.
The main purpose of this patch is ability to load DVDs, stored on HDD,
using OSD menu.
Modified patch from Benjamin Zores ben at geexbox dot org
author | voroshil |
---|---|
date | Sun, 02 Dec 2007 13:13:02 +0000 |
parents | 39b8ccb91251 |
children | d4f4ce3534c3 |
rev | line source |
---|---|
7031 | 1 include ../config.mak |
2 | |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
21259
diff
changeset
|
3 LIBNAME_COMMON = libdvdread.a |
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
21259
diff
changeset
|
4 |
24049 | 5 SRCS_COMMON = cmd_print.c \ |
6 dvd_input.c \ | |
22531
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
7 dvd_reader.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
8 dvd_udf.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
9 ifo_print.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
10 ifo_read.c \ |
24049 | 11 md5.c \ |
22531
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
12 nav_print.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
13 nav_read.c \ |
7031 | 14 |
24023 | 15 CFLAGS = -D__USE_UNIX98 -D_GNU_SOURCE |
20805 | 16 |
22535 | 17 CFLAGS-$(DVDCSS_INTERNAL) += -I../libdvdcss -DHAVE_DVDCSS_DVDCSS_H |
17187
e2b0c2841643
libdvdread configure script defines __DARWIN__ on darwin to trigger
diego
parents:
16714
diff
changeset
|
18 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21215
diff
changeset
|
19 include ../mpcommon.mak |