Commit 4519ef1e authored by gbazin's avatar gbazin
Browse files

* modules/demux/mkv.cpp: remove useless printf()s

parent 300a5c10
...@@ -1997,7 +1997,7 @@ static void BlockDecode( demux_t *p_demux, KaxBlock *block, mtime_t i_pts, ...@@ -1997,7 +1997,7 @@ static void BlockDecode( demux_t *p_demux, KaxBlock *block, mtime_t i_pts,
if ( f_mandatory ) if ( f_mandatory )
p_block->i_dts = p_block->i_pts; p_block->i_dts = p_block->i_pts;
else else
p_block->i_dts = min( i_pts, tk->i_last_dts + (tk->i_default_duration >> 10)); p_block->i_dts = min( i_pts, tk->i_last_dts + (mtime_t)(tk->i_default_duration >> 10));
p_sys->i_pts = p_block->i_dts; p_sys->i_pts = p_block->i_dts;
} }
} }
...@@ -4911,8 +4911,6 @@ void matroska_segment_c::ParseCluster( ) ...@@ -4911,8 +4911,6 @@ void matroska_segment_c::ParseCluster( )
*****************************************************************************/ *****************************************************************************/
void matroska_segment_c::InformationCreate( ) void matroska_segment_c::InformationCreate( )
{ {
size_t i_track;
sys.meta = vlc_meta_New(); sys.meta = vlc_meta_New();
if( psz_title ) if( psz_title )
...@@ -4923,6 +4921,7 @@ void matroska_segment_c::InformationCreate( ) ...@@ -4923,6 +4921,7 @@ void matroska_segment_c::InformationCreate( )
{ {
vlc_meta_SetDate( sys.meta, psz_date_utc ); vlc_meta_SetDate( sys.meta, psz_date_utc );
} }
#if 0
if( psz_segment_filename ) if( psz_segment_filename )
{ {
fprintf( stderr, "***** WARNING: Unhandled meta - Use custom\n" ); fprintf( stderr, "***** WARNING: Unhandled meta - Use custom\n" );
...@@ -4936,12 +4935,13 @@ void matroska_segment_c::InformationCreate( ) ...@@ -4936,12 +4935,13 @@ void matroska_segment_c::InformationCreate( )
fprintf( stderr, "***** WARNING: Unhandled meta - Use custom\n" ); fprintf( stderr, "***** WARNING: Unhandled meta - Use custom\n" );
} }
for( i_track = 0; i_track < tracks.size(); i_track++ ) for( size_t i_track = 0; i_track < tracks.size(); i_track++ )
{ {
// mkv_track_t *tk = tracks[i_track]; // mkv_track_t *tk = tracks[i_track];
// vlc_meta_t *mtk = vlc_meta_New(); // vlc_meta_t *mtk = vlc_meta_New();
fprintf( stderr, "***** WARNING: Unhandled child meta\n"); fprintf( stderr, "***** WARNING: Unhandled child meta\n");
} }
#endif
if( i_tags_position >= 0 ) if( i_tags_position >= 0 )
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment