Mercurial > mplayer.hg
view stream/stream_dvdnav.h @ 24213:29fe677d8a19
warning fixes:
realcodecs/14_4.c: In function 'RAInitDecoder':
realcodecs/14_4.c:238: warning: unused variable 'temp2'
realcodecs/14_4.c:237: warning: unused variable 'temp'
realcodecs/14_4.c: In function 'RASetFlavor':
realcodecs/14_4.c:273: warning: unused variable 'property'
realcodecs/14_4.c:272: warning: unused variable 'flavor'
realcodecs/14_4.c:272: warning: unused variable 'numflavors'
realcodecs/14_4.c:271: warning: unused variable 'result1'
realcodecs/14_4.c:271: warning: unused variable 'numprop'
author | diego |
---|---|
date | Mon, 27 Aug 2007 10:55:27 +0000 |
parents | 3f0d00abc073 |
children | 7dad6159053b |
line wrap: on
line source
#ifndef MPLAYER_STREAM_DVDNAV_H #define MPLAYER_STREAM_DVDNAV_H #include <dvdnav.h> typedef struct { int event; /* event number fromd dvdnav_events.h */ void * details; /* event details */ int len; /* bytes in details */ } dvdnav_event_t; typedef struct { uint16_t sx, sy; uint16_t ex, ey; } nav_highlight_t; typedef struct { dvdnav_t * dvdnav; /* handle to libdvdnav stuff */ char * filename; /* path */ int ignore_timers; /* should timers be skipped? */ int sleeping; /* are we sleeping? */ unsigned int sleep_until; /* timer */ int started; /* Has mplayer initialization finished? */ unsigned int duration; /* in milliseconds */ int mousex, mousey; int title; unsigned int spu_clut[16], spu_set; dvdnav_highlight_event_t hlev; } dvdnav_priv_t; int dvdnav_number_of_subs(stream_t *stream); int dvdnav_aid_from_lang(stream_t *stream, unsigned char *language); int dvdnav_lang_from_aid(stream_t *stream, int id, unsigned char *buf); int dvdnav_sid_from_lang(stream_t *stream, unsigned char *language); int dvdnav_lang_from_sid(stream_t *stream, int sid, unsigned char *buf); int mp_dvdnav_handle_input(stream_t *stream, int cmd, int *button); void mp_dvdnav_update_mouse_pos(stream_t *stream, int32_t x, int32_t y, int* button); void mp_dvdnav_get_highlight (stream_t *stream, nav_highlight_t *hl); unsigned int *mp_dvdnav_get_spu_clut(stream_t *stream); #endif