summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-23 21:17:32 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-23 21:17:32 +0000
commit8c1284a53769ca80ddabe97f69ad2562c4e59efe (patch)
tree8c46f41394c5776c3892dcccfbacdb3bc3f08dd3 /stream
parent38857d2927bb047cbb418882e431b75979b90d6f (diff)
downloadmpv-8c1284a53769ca80ddabe97f69ad2562c4e59efe.tar.bz2
mpv-8c1284a53769ca80ddabe97f69ad2562c4e59efe.tar.xz
simplified code to handle titleset transition (removed useless assignment)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20423 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_dvdnav.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index 15bd810cbb..96d1af1f2e 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -214,11 +214,10 @@ static int fill_buffer(stream_t *s, char *but, int len)
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;
}