diff options
Diffstat (limited to 'stheader.h')
-rw-r--r-- | stheader.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/stheader.h b/stheader.h index 03d78b64f9..273caede4f 100644 --- a/stheader.h +++ b/stheader.h @@ -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 { 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; |