Mercurial > mplayer.hg
comparison stream/stream_dvd.c @ 20086:94c1edffdf2f
Print current DVD title as ID_DVD_CURRENT_TITLE.
author | corey |
---|---|
date | Fri, 06 Oct 2006 19:06:59 +0000 |
parents | edab36622800 |
children | 42b46a42f83b |
comparison
equal
deleted
inserted
replaced
20085:6b5e20b52e7a | 20086:94c1edffdf2f |
---|---|
647 ifoClose( vmg_file ); | 647 ifoClose( vmg_file ); |
648 DVDClose( dvd ); | 648 DVDClose( dvd ); |
649 m_struct_free(&stream_opts,opts); | 649 m_struct_free(&stream_opts,opts); |
650 return STREAM_UNSUPORTED; | 650 return STREAM_UNSUPORTED; |
651 } | 651 } |
652 mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_DVD_CURRENT_TITLE=%d\n", dvd_title); | |
652 --dvd_title; // remap 1.. -> 0.. | 653 --dvd_title; // remap 1.. -> 0.. |
653 /** | 654 /** |
654 * Make sure the chapter number is valid for this title. | 655 * Make sure the chapter number is valid for this title. |
655 */ | 656 */ |
656 mp_msg(MSGT_OPEN,MSGL_STATUS, MSGTR_DVDnumChapters, tt_srpt->title[dvd_title].nr_of_ptts); | 657 mp_msg(MSGT_OPEN,MSGL_STATUS, MSGTR_DVDnumChapters, tt_srpt->title[dvd_title].nr_of_ptts); |