changeset 23043:4038852b041e

after a DVDNAV_VTS_CHANGE event report the title being played
author nicodvb
date Sun, 22 Apr 2007 10:27:44 +0000
parents e55d20a2319f
children 7d693457f85e
files stream/stream_dvdnav.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Sun Apr 22 01:55:47 2007 +0000
+++ b/stream/stream_dvdnav.c	Sun Apr 22 10:27:44 2007 +0000
@@ -261,6 +261,8 @@
           return len;
         case DVDNAV_VTS_CHANGE: {
           int tit = 0, part = 0;
+          dvdnav_vts_change_event_t *vts_event = (dvdnav_vts_change_event_t *)s->buffer;
+          mp_msg(MSGT_CPLAYER,MSGL_INFO, "DVDNAV, switched to title: %d\r\n", vts_event->new_vtsN);
           s->end_pos = 0;
           update_title_len(s);
           if(dvdnav_current_title_info(priv->dvdnav, &tit, &part) == DVDNAV_STATUS_OK) {