[MPlayer-cvslog] r20423 - trunk/stream/stream_dvdnav.c
nicodvb
subversion at mplayerhq.hu
Mon Oct 23 23:17:32 CEST 2006
Author: nicodvb
Date: Mon Oct 23 23:17:32 2006
New Revision: 20423
Modified:
trunk/stream/stream_dvdnav.c
Log:
simplified code to handle titleset transition (removed useless assignment)
Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c (original)
+++ trunk/stream/stream_dvdnav.c Mon Oct 23 23:17:32 2006
@@ -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;
}
More information about the MPlayer-cvslog
mailing list