* found in .ifo.
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
- * $Id: dvd_summary.c,v 1.4 2001/06/07 22:25:42 sam Exp $
+ * $Id: dvd_summary.c,v 1.6 2001/06/12 22:14:44 sam Exp $
*
* Author: Stéphane Borel <stef@via.ecp.fr>
*
#endif
#include <errno.h>
+#include <videolan/dvdcss.h>
+
#include "config.h"
#include "common.h"
#include "threads.h"
****************************************************************************/
void IfoPrintTitle( thread_dvd_data_t * p_dvd )
{
- intf_WarnMsg( 5, "***************************************************" );
intf_WarnMsg( 5, "dvd info: title: %d", p_dvd->i_title );
- intf_WarnMsg( 5, " vobstart at: %lld", p_dvd->i_start );
- intf_WarnMsg( 5, " stream size: %lld", p_dvd->i_size );
+ intf_WarnMsg( 5, " vobstart at: %d blocks", p_dvd->i_start );
+ intf_WarnMsg( 5, " stream size: %d blocks", p_dvd->i_size );
intf_WarnMsg( 5, " number of chapters: %d", p_dvd->i_chapter_nb );
intf_WarnMsg( 5, " number of angles: %d", p_dvd->i_angle_nb );
- intf_WarnMsg( 5, "***************************************************\n" );
}
/****************************************************************************
break;
}
- intf_WarnMsg( 5, "***********************************************" );
intf_WarnMsg( 5, "dvd info: video" );
intf_WarnMsg( 5, " compression: mpeg-%d", video.i_compression+1 );
intf_WarnMsg( 5, " tv system: %s Hz",
video.i_letterboxed ? "yes" : "no" );
intf_WarnMsg( 5, " mode: %s",
video.i_mode ? "film (625/50 only)" : "camera");
- intf_WarnMsg( 5, "***********************************************\n" );
}
#undef video
char ppsz_quant[4][10] =
{ "16 bits", "20 bits", "24 bits", "drc" };
- intf_WarnMsg( 5, "***********************************************" );
intf_WarnMsg( 5, "dvd info: audio %d" , i );
intf_WarnMsg( 5, " language: %s",
IfoLanguage( hton16( audio.i_lang_code ) ) );
ppsz_quant[audio.i_quantization & 0x3] );
intf_WarnMsg( 5, " status: %x", audio_status.i_position );
- intf_WarnMsg( 5, "***********************************************\n" );
}
{
if( spu_status.i_available )
{
- intf_WarnMsg( 5, "***********************************************" );
intf_WarnMsg( 5, "dvd info: spu %d", i );
intf_WarnMsg( 5, " caption: %d", spu.i_caption );
intf_WarnMsg( 5, " language: %s",
spu_status.i_position_wide,
spu_status.i_position_letter,
spu_status.i_position_pan );
- intf_WarnMsg( 5, "***********************************************\n" );
}
}