summaryrefslogtreecommitdiffstats
path: root/stheader.h
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-07 21:27:57 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-07 21:27:57 +0000
commite0ca9721bcf07175121316cc4c779d55c9a9d867 (patch)
tree19d12d5b208af359d7f430ff844fda54b87f468c /stheader.h
parent0b3bd9698d07ea2a105d432fef5dc649de4e1f0b (diff)
downloadmpv-e0ca9721bcf07175121316cc4c779d55c9a9d867.tar.bz2
mpv-e0ca9721bcf07175121316cc4c779d55c9a9d867.tar.xz
codecs.conf support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@304 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stheader.h')
-rw-r--r--stheader.h10
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;