Mercurial > mplayer.hg
view libmpcodecs/mpc_info.h @ 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 | 28677d779205 |
children | 3baf6a2283da |
line wrap: on
line source
#ifndef MP_CODEC_INFO_T #define MP_CODEC_INFO_T typedef struct mp_codec_info_s { /* codec long name ("Autodesk FLI/FLC Animation decoder" */ const char *name; /* short name (same as driver name in codecs.conf) ("dshow") */ const char *short_name; /* interface author/maintainer */ const char *maintainer; /* codec author ("Aaron Holtzman <aholtzma@ess.engr.uvic.ca>") */ const char *author; /* any additional comments */ const char *comment; } mp_codec_info_t; #define CONTROL_OK 1 #define CONTROL_TRUE 1 #define CONTROL_FALSE 0 #define CONTROL_UNKNOWN -1 #define CONTROL_ERROR -2 #define CONTROL_NA -3 #endif