From d53b152e68299f977c17c8cc4a436e9dbcbb3bc4 Mon Sep 17 00:00:00 2001 From: arpi Date: Fri, 4 Jan 2002 13:41:03 +0000 Subject: [PATCH] some debug++ git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3978 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpeg2/decode.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libmpeg2/decode.c b/libmpeg2/decode.c index a90cbc9291..221a76e126 100644 --- a/libmpeg2/decode.c +++ b/libmpeg2/decode.c @@ -245,6 +245,13 @@ static int parse_chunk (vo_functions_t * output, int code, uint8_t * buffer, int //decode_reorder_frames (); break; + case 0xb2: /* user data */ + if(buffer[0]=='C' && buffer[1]=='C') + printf("libmpeg2: Closed Captions sample found! Contact MPlayer developers! \n"); + else + printf("libmpeg2: Unknown user data. %02X %02X \n",buffer[0],buffer[1]); + break; + case 0xb3: /* sequence_header_code */ if (header_process_sequence_header (picture, buffer)) { printf ("bad sequence header\n");