[MPlayer-cvslog] r29156 - trunk/stream/stream_dvdnav.c
reimar
subversion at mplayerhq.hu
Thu Apr 9 16:23:09 CEST 2009
Author: reimar
Date: Thu Apr 9 16:23:09 2009
New Revision: 29156
Log:
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.
Modified:
trunk/stream/stream_dvdnav.c
Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c Thu Apr 9 11:53:35 2009 (r29155)
+++ trunk/stream/stream_dvdnav.c Thu Apr 9 16:23:09 2009 (r29156)
@@ -205,10 +205,13 @@ static int dvdnav_stream_read(dvdnav_pri
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) {
More information about the MPlayer-cvslog
mailing list