aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-07 10:30:49 +0000
committerGravatar ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-07 10:30:49 +0000
commitd0bfe9916c205bf8d901c8547b0381211c4df757 (patch)
treef982c5cdf533ebdad8cce066718ac0ba6c4a93e5
parent8e717d77c736aa949800a07192180d053302a0a6 (diff)
Save DVDNAV palette info.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27005 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--stream/stream_dvdnav.c1
-rw-r--r--stream/stream_dvdnav.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index 633ff65b45..1b169cabd0 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -823,6 +823,7 @@ void mp_dvdnav_get_highlight (stream_t *stream, nav_highlight_t *hl) {
hl->sy = hlev.sy;
hl->ex = hlev.ex;
hl->ey = hlev.ey;
+ hl->palette = hlev.palette;
}
void mp_dvdnav_switch_title (stream_t *stream, int title) {
diff --git a/stream/stream_dvdnav.h b/stream/stream_dvdnav.h
index ddd5700e16..89e38968a0 100644
--- a/stream/stream_dvdnav.h
+++ b/stream/stream_dvdnav.h
@@ -13,6 +13,7 @@ typedef struct {
typedef struct {
uint16_t sx, sy;
uint16_t ex, ey;
+ uint32_t palette;
} nav_highlight_t;
int dvdnav_number_of_subs(stream_t *stream);