Mercurial > mplayer.hg
view stream/stream_dvd.h @ 28155:c21d81e41e15
Increase MAX_PACK_BYTES from 8 or 32 MB (with/without CONFIG_TV_BSDBT848) to always 32 MB.
Firstly 32 MB is not that much with HD video and the different
values depending on whether CONFIG_TV_BSDBT848 is set or not
makes debugging harder.
author | reimar |
---|---|
date | Wed, 24 Dec 2008 16:05:20 +0000 |
parents | ea01824701a5 |
children | 83266d299072 |
line wrap: on
line source
#ifndef MPLAYER_STREAM_DVD_H #define MPLAYER_STREAM_DVD_H #include "config.h" #include <stdint.h> #ifdef CONFIG_DVDREAD_INTERNAL #include "libdvdread/dvd_reader.h" #include "libdvdread/ifo_types.h" #include "libdvdread/ifo_read.h" #include "libdvdread/nav_read.h" #else #include <dvdread/dvd_reader.h> #include <dvdread/ifo_types.h> #include <dvdread/ifo_read.h> #include <dvdread/nav_read.h> #endif #include "stream.h" typedef struct { dvd_reader_t *dvd; dvd_file_t *title; ifo_handle_t *vmg_file; tt_srpt_t *tt_srpt; ifo_handle_t *vts_file; vts_ptt_srpt_t *vts_ptt_srpt; pgc_t *cur_pgc; // int cur_title; int cur_cell; int last_cell; int cur_pack; int cell_last_pack; int cur_pgc_idx; // Navi: int packs_left; dsi_t dsi_pack; int angle_seek; unsigned int *cell_times_table; // audio datas int nr_of_channels; stream_language_t audio_streams[32]; // subtitles int nr_of_subtitles; stream_language_t subtitles[32]; } dvd_priv_t; int dvd_number_of_subs(stream_t *stream); int dvd_lang_from_aid(stream_t *stream, int id); int dvd_lang_from_sid(stream_t *stream, int id); int dvd_aid_from_lang(stream_t *stream, unsigned char* lang); int dvd_sid_from_lang(stream_t *stream, unsigned char* lang); int dvd_chapter_from_cell(dvd_priv_t *dvd,int title,int cell); #endif /* MPLAYER_STREAM_DVD_H */