Increase probe buffer size to 32kB, this makes ac3 auto-detection far more reliable.
[mplayer/glamo.git] / libmpdemux / parse_es.h
blobb562aff04e88c1be1cb6c7a11a41d150d58a401b
1 #ifndef MPLAYER_PARSE_ES_H
2 #define MPLAYER_PARSE_ES_H
4 #include "demuxer.h"
6 #define MAX_VIDEO_PACKET_SIZE (224*1024+4)
7 #define VIDEOBUFFER_SIZE 0x100000
9 extern unsigned char* videobuffer;
10 extern int videobuf_len;
11 extern unsigned char videobuf_code[4];
12 extern int videobuf_code_len;
14 // sync video stream, and returns next packet code
15 int sync_video_packet(demux_stream_t *ds);
17 // return: packet length
18 int read_video_packet(demux_stream_t *ds);
20 // return: next packet code
21 int skip_video_packet(demux_stream_t *ds);
23 #endif /* MPLAYER_PARSE_ES_H */