Mercurial > mplayer.hg
changeset 29116:2cd8c5f81281
Add a -indentify message that indicates if the current DVDNAV title is
a menu or a video.
Patch by Kevin DeKorte [kdekorte gmail com], approved by Nico.
author | reimar |
---|---|
date | Thu, 09 Apr 2009 14:23:09 +0000 |
parents | 1e78a310487e |
children | 010781e92294 |
files | stream/stream_dvdnav.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_dvdnav.c Thu Apr 09 09:53:35 2009 +0000 +++ b/stream/stream_dvdnav.c Thu Apr 09 14:23:09 2009 +0000 @@ -205,10 +205,13 @@ if(ev->pgc_length) priv->duration = ev->pgc_length/90; - if (dvdnav_is_domain_vts(priv->dvdnav)) + if (dvdnav_is_domain_vts(priv->dvdnav)) { + mp_msg(MSGT_IDENTIFY, MSGL_INFO, "DVDNAV_TITLE_IS_MOVIE\n"); priv->state &= ~NAV_FLAG_VTS_DOMAIN; - else + } else { + mp_msg(MSGT_IDENTIFY, MSGL_INFO, "DVDNAV_TITLE_IS_MENU\n"); priv->state |= NAV_FLAG_VTS_DOMAIN; + } nextstill = dvdnav_get_next_still_flag (priv->dvdnav); if (nextstill) {