# HG changeset patch # User reimar # Date 1239286989 0 # Node ID 2cd8c5f81281cec2f8033528c31466c6346d3ee0 # Parent 1e78a310487e241f067768dfd151544e3b5aee72 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. diff -r 1e78a310487e -r 2cd8c5f81281 stream/stream_dvdnav.c --- 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) {