changeset 20407:69c6c687a2f6

simplified code to handle titleset transition (removed useless assignment)
author nicodvb
date Mon, 23 Oct 2006 21:17:32 +0000
parents 831cd8cbf58a
children 8053530f2fa2
files stream/stream_dvdnav.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Mon Oct 23 21:07:24 2006 +0000
+++ b/stream/stream_dvdnav.c	Mon Oct 23 21:17:32 2006 +0000
@@ -214,11 +214,10 @@
 	    case DVDNAV_BLOCK_OK: return len;
             case DVDNAV_VTS_CHANGE: {
                 int tit = 0, part = 0;
-                dvdnav_vts_change_event_t *evt = (dvdnav_vts_change_event_t*)but;
                 s->end_pos = 0;
                 update_title_len(s);
                 if(dvdnav_current_title_info(dvdnav_priv->dvdnav, &tit, &part) == DVDNAV_STATUS_OK) {
-                  mp_msg(MSGT_CPLAYER,MSGL_V, "\r\nDVDNAV, NEW VTS event: VTS %d, title %d\r\n", evt->new_vtsN, tit);
+                  mp_msg(MSGT_CPLAYER,MSGL_V, "\r\nDVDNAV, NEW TITLE %d\r\n", tit);
                   if(dvdnav_priv->title > 0 && tit != dvdnav_priv->title)
                     return 0;
                 }