summaryrefslogtreecommitdiffstats
path: root/demux/stheader.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-25 00:59:15 +0200
committerwm4 <wm4@nowhere>2014-09-25 00:59:15 +0200
commitfd7dde404d95f9c7f703917578111317d4ab85cd (patch)
tree2b33caab9d5d2c0e31f7d16246460d22a9c148ea /demux/stheader.h
parente977624d8723ab8c129e8cefc5bdac31aa8a9475 (diff)
downloadmpv-fd7dde404d95f9c7f703917578111317d4ab85cd.tar.bz2
mpv-fd7dde404d95f9c7f703917578111317d4ab85cd.tar.xz
video: remove BITMAPINFOHEADER from internal demuxer API
MPlayer traditionally did this because it made sense: the most important formats (avi, asf/wmv) used Microsoft formats, and many important decoders (win32 binary codecs) also did. But the world has changed, and I've always wanted to get rid of this thing from the codebase. demux_mkv.c internally still uses it, because, guess what, Matroska has a VfW muxing mode, which uses these data structures natively.
Diffstat (limited to 'demux/stheader.h')
-rw-r--r--demux/stheader.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/demux/stheader.h b/demux/stheader.h
index a2740f0189..a368074d99 100644
--- a/demux/stheader.h
+++ b/demux/stheader.h
@@ -82,10 +82,13 @@ typedef struct sh_video {
float fps; // frames per second (set only if constant fps)
float aspect; // aspect ratio stored in the file (for prescaling)
int bitrate; // compressed bits/sec
+ int bits_per_coded_sample;
+ int coded_width, coded_height;
+ unsigned char *extradata;
+ int extradata_len;
int disp_w, disp_h; // display size
int rotate; // intended display rotation, in degrees, [0, 359]
int stereo_mode; // mp_stereo3d_mode (0 if none/unknown)
- MP_BITMAPINFOHEADER *bih;
} sh_video_t;
typedef struct sh_sub {