Mercurial > mplayer.hg
view dvdread/nav_print.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 | 1542693b2a30 |
children |
line wrap: on
line source
/* -*- c-basic-offset: 2; indent-tabs-mode: nil -*- */ #ifndef NAV_PRINT_H_INCLUDED #define NAV_PRINT_H_INCLUDED /* * Copyright (C) 2001, 2002 Billy Biggs <vektor@dumbterm.net>, * Håkan Hjort <d95hjort@dtek.chalmers.se> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <dvdread/nav_types.h> /** * Pretty printing of the NAV packets, PCI and DSI structs. */ #ifdef __cplusplus extern "C" { #endif /** * Prints information contained in the PCI to stdout. * * @param pci Pointer to the PCI data structure to be printed. */ void navPrint_PCI(pci_t *); /** * Prints information contained in the DSI to stdout. * * @param dsi Pointer to the DSI data structure to be printed. */ void navPrint_DSI(dsi_t *); #ifdef __cplusplus }; #endif #endif /* NAV_PRINT_H_INCLUDED */