Mercurial > mplayer.hg
diff stheader.h @ 303:828ec81e0d64
codecs.conf support
author | arpi_esp |
---|---|
date | Sat, 07 Apr 2001 21:27:57 +0000 |
parents | c3d7a28a0d1a |
children | 33115689181a |
line wrap: on
line diff
--- a/stheader.h Sat Apr 07 16:59:51 2001 +0000 +++ b/stheader.h Sat Apr 07 21:27:57 2001 +0000 @@ -1,13 +1,16 @@ // Stream headers: +/* typedef struct { int driver; // codec descriptor from codec.conf } codecinfo_t; +*/ typedef struct { demux_stream_t *ds; - codecinfo_t codec; + unsigned int format; + codecs_t *codec; // output format: int samplerate; int samplesize; @@ -36,11 +39,12 @@ typedef struct { demux_stream_t *ds; - codecinfo_t codec; + unsigned int format; + codecs_t *codec; // output format: float fps; float frametime; // 1/fps - unsigned int outfmt; + unsigned int outfmtidx; // unsigned int bitrate; // buffers: char *our_out_buffer;