aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-22 10:27:44 +0000
committerGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-22 10:27:44 +0000
commitc7a0712f307e21c395581486b8dabcbeca75c77a (patch)
tree8dac28694a9cc7f628116829f00f6cc04901e704
parentcc796852ecd5115125e8e3d148bb420dc5d69eed (diff)
after a DVDNAV_VTS_CHANGE event report the title being played
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23061 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--stream/stream_dvdnav.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index 17906a3838..a4e8dc9b12 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -261,6 +261,8 @@ static int fill_buffer(stream_t *s, char *but, int len)
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) {