Mercurial > mplayer.hg
comparison libmpdemux/video.c @ 30577:737b7fd47ef4
Add header for ty_ClearOSD(), ty_processuserdata(); avoids forward declarations.
author | diego |
---|---|
date | Wed, 17 Feb 2010 22:48:32 +0000 |
parents | 2b4de9979153 |
children | 32725ca88fed |
comparison
equal
deleted
inserted
replaced
30576:24a5dc9d1466 | 30577:737b7fd47ef4 |
---|---|
31 #include "mp_msg.h" | 31 #include "mp_msg.h" |
32 #include "help_mp.h" | 32 #include "help_mp.h" |
33 | 33 |
34 #include "stream/stream.h" | 34 #include "stream/stream.h" |
35 #include "demuxer.h" | 35 #include "demuxer.h" |
36 #include "demux_ty_osd.h" | |
36 #include "stheader.h" | 37 #include "stheader.h" |
37 #include "parse_es.h" | 38 #include "parse_es.h" |
38 #include "mpeg_hdr.h" | 39 #include "mpeg_hdr.h" |
39 | 40 |
40 /* sub_cc (closed captions)*/ | 41 /* sub_cc (closed captions)*/ |
403 } // switch(file_format) | 404 } // switch(file_format) |
404 | 405 |
405 return 1; | 406 return 1; |
406 } | 407 } |
407 | 408 |
408 void ty_processuserdata( unsigned char* buf, int len ); | |
409 | |
410 static void process_userdata(unsigned char* buf,int len){ | 409 static void process_userdata(unsigned char* buf,int len){ |
411 int i; | 410 int i; |
412 /* if the user data starts with "CC", assume it is a CC info packet */ | 411 /* if the user data starts with "CC", assume it is a CC info packet */ |
413 if(len>2 && buf[0]=='C' && buf[1]=='C'){ | 412 if(len>2 && buf[0]=='C' && buf[1]=='C'){ |
414 // mp_msg(MSGT_DECVIDEO,MSGL_DBG2,"video.c: process_userdata() detected Closed Captions!\n"); | 413 // mp_msg(MSGT_DECVIDEO,MSGL_DBG2,"video.c: process_userdata() detected Closed Captions!\n"); |