Mercurial > mplayer.hg
comparison libmpdemux/demuxer.h @ 4694:a21735031d6a
Audio file demuxer. Extended version for demuxer info.
genres.h come from id3edit of servex@servex.yi.org found
at http://id3edit.sourceforge.net/
author | albeu |
---|---|
date | Thu, 14 Feb 2002 13:04:35 +0000 |
parents | e534c7dc0cc0 |
children | d0c2c8af46b4 |
comparison
equal
deleted
inserted
replaced
4693:20d5cc87be20 | 4694:a21735031d6a |
---|---|
17 #define DEMUXER_TYPE_Y4M 12 | 17 #define DEMUXER_TYPE_Y4M 12 |
18 #define DEMUXER_TYPE_NUV 13 | 18 #define DEMUXER_TYPE_NUV 13 |
19 #define DEMUXER_TYPE_FILM 14 | 19 #define DEMUXER_TYPE_FILM 14 |
20 #define DEMUXER_TYPE_ROQ 15 | 20 #define DEMUXER_TYPE_ROQ 15 |
21 #define DEMUXER_TYPE_MF 16 | 21 #define DEMUXER_TYPE_MF 16 |
22 #define DEMUXER_TYPE_AUDIO 17 | |
22 | 23 |
23 #define DEMUXER_TIME_NONE 0 | 24 #define DEMUXER_TIME_NONE 0 |
24 #define DEMUXER_TIME_PTS 1 | 25 #define DEMUXER_TIME_PTS 1 |
25 #define DEMUXER_TIME_FILE 2 | 26 #define DEMUXER_TIME_FILE 2 |
26 #define DEMUXER_TIME_BPS 3 | 27 #define DEMUXER_TIME_BPS 3 |
92 void* a_streams[MAX_A_STREAMS]; // audio streams (sh_audio_t) | 93 void* a_streams[MAX_A_STREAMS]; // audio streams (sh_audio_t) |
93 void* v_streams[MAX_V_STREAMS]; // video sterams (sh_video_t) | 94 void* v_streams[MAX_V_STREAMS]; // video sterams (sh_video_t) |
94 char s_streams[32]; // dvd subtitles (flag) | 95 char s_streams[32]; // dvd subtitles (flag) |
95 | 96 |
96 void* priv; // fileformat-dependent data | 97 void* priv; // fileformat-dependent data |
97 demuxer_info_t info; | 98 char** info; |
98 } demuxer_t; | 99 } demuxer_t; |
99 | 100 |
100 inline static demux_packet_t* new_demux_packet(int len){ | 101 inline static demux_packet_t* new_demux_packet(int len){ |
101 demux_packet_t* dp=malloc(sizeof(demux_packet_t)); | 102 demux_packet_t* dp=malloc(sizeof(demux_packet_t)); |
102 dp->len=len; | 103 dp->len=len; |