Commit 3e8cb71c authored by Antoine Cellerier's avatar Antoine Cellerier Committed by Jean-Paul Saman

Add some debug info (even though I haven't managed to get that far in the code for the time being)

Signed-off-by: Jean-Paul Saman's avatarJean-Paul Saman <jean-paul.saman@m2x.nl>
parent 8ca1bf63
......@@ -332,6 +332,33 @@ static picture_t *DecodeVideoBlock( decoder_t *p_dec, block_t **pp_block )
}
/* Copy stuff to picture here */
switch( out_args.decodedFrameType )
{
case IVIDEO_NA_FRAME:
msg_Dbg( p_dec, "Unknown frame type" );
break;
case IVIDEO_I_FRAME:
msg_Dbg( p_dec, "I frame" );
break;
case IVIDEO_P_FRAME:
msg_Dbg( p_dec, "P frame" );
break;
case IVIDEO_B_FRAME:
msg_Dbg( p_dec, "B frame" );
break;
case IVIDEO_II_FRAME:
msg_Dbg( p_dec, "Interlaced I frame" );
break;
case IVIDEO_PP_FRAME:
msg_Dbg( p_dec, "Interlaced P frame" );
break;
case IVIDEO_BB_FRAME:
msg_Dbg( p_dec, "Interlaced B frame" );
break;
default:
msg_Dbg( p_dec, "Other frame type: %d", out_args.decodedFrameType );
break;
}
p_pic->date = p_block->i_pts > 0 ? p_block->i_pts : p_block->i_dts;
......
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