Save DVDNAV palette info.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27005 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben 2008-06-07 10:30:49 +00:00
parent 8e717d77c7
commit d0bfe9916c
2 changed files with 2 additions and 0 deletions

View File

@ -823,6 +823,7 @@ void mp_dvdnav_get_highlight (stream_t *stream, nav_highlight_t *hl) {
hl->sy = hlev.sy; hl->sy = hlev.sy;
hl->ex = hlev.ex; hl->ex = hlev.ex;
hl->ey = hlev.ey; hl->ey = hlev.ey;
hl->palette = hlev.palette;
} }
void mp_dvdnav_switch_title (stream_t *stream, int title) { void mp_dvdnav_switch_title (stream_t *stream, int title) {

View File

@ -13,6 +13,7 @@ typedef struct {
typedef struct { typedef struct {
uint16_t sx, sy; uint16_t sx, sy;
uint16_t ex, ey; uint16_t ex, ey;
uint32_t palette;
} nav_highlight_t; } nav_highlight_t;
int dvdnav_number_of_subs(stream_t *stream); int dvdnav_number_of_subs(stream_t *stream);