summaryrefslogtreecommitdiffstats
path: root/libmpdemux/stheader.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-16 04:23:38 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:41:05 +0300
commit7039bc090a250f8102ca2c719181dbbc5a74ae79 (patch)
treeeda5cfd29c6a51d295659411553eaf6a5e6ff48e /libmpdemux/stheader.h
parentd3d12332d647d2e9281220b84050518bc3f0cb03 (diff)
downloadmpv-7039bc090a250f8102ca2c719181dbbc5a74ae79.tar.bz2
mpv-7039bc090a250f8102ca2c719181dbbc5a74ae79.tar.xz
Add option pointer to demuxers and stheader.h structs
Diffstat (limited to 'libmpdemux/stheader.h')
-rw-r--r--libmpdemux/stheader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h
index 2ccd7fa4d0..a81f349c02 100644
--- a/libmpdemux/stheader.h
+++ b/libmpdemux/stheader.h
@@ -4,10 +4,12 @@
#include "demuxer.h"
#include "aviheader.h"
#include "ms_hdr.h"
+struct MPOpts;
// Stream headers:
typedef struct sh_audio {
+ struct MPOpts *opts;
int aid;
demux_stream_t *ds;
struct codecs_st *codec;
@@ -55,6 +57,7 @@ typedef struct sh_audio {
} sh_audio_t;
typedef struct sh_video {
+ struct MPOpts *opts;
int vid;
demux_stream_t *ds;
struct codecs_st *codec;
@@ -95,6 +98,7 @@ typedef struct sh_video {
} sh_video_t;
typedef struct sh_sub {
+ struct MPOpts *opts;
int sid;
char type; // t = text, v = VobSub, a = SSA/ASS
int has_palette; // If we have a valid palette