changeset 26973:2b6d87a07612

Save DVDNAV palette info.
author ben
date Sat, 07 Jun 2008 10:30:49 +0000
parents 5b162ba7cee8
children 7042def3416f
files stream/stream_dvdnav.c stream/stream_dvdnav.h
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Sat Jun 07 10:25:07 2008 +0000
+++ b/stream/stream_dvdnav.c	Sat Jun 07 10:30:49 2008 +0000
@@ -823,6 +823,7 @@
   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) {
--- a/stream/stream_dvdnav.h	Sat Jun 07 10:25:07 2008 +0000
+++ b/stream/stream_dvdnav.h	Sat Jun 07 10:30:49 2008 +0000
@@ -13,6 +13,7 @@
 typedef struct {
   uint16_t sx, sy;
   uint16_t ex, ey;
+  uint32_t palette;
 } nav_highlight_t;
 
 int dvdnav_number_of_subs(stream_t *stream);