summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorcorey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-02-21 09:40:25 +0000
committercorey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-02-21 09:40:25 +0000
commit08423e09bf3c6706505c7a1deecce24aad252f15 (patch)
treeef348858cb3460082cb0238922f1e60a14f6c6b9 /libmpdemux
parent960b978a037702e3c684b66b6ab2cdd4d62c5162 (diff)
downloadmpv-08423e09bf3c6706505c7a1deecce24aad252f15.tar.bz2
mpv-08423e09bf3c6706505c7a1deecce24aad252f15.tar.xz
Fix video delay when encoding with B-frames.
(missed this file) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17661 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/muxer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/muxer.h b/libmpdemux/muxer.h
index ae7882e90c..273edf9176 100644
--- a/libmpdemux/muxer.h
+++ b/libmpdemux/muxer.h
@@ -38,6 +38,8 @@ typedef struct {
// stream specific:
WAVEFORMATEX *wf;
BITMAPINFOHEADER *bih; // in format
+ int encoder_delay; // in number of frames
+ int decoder_delay; // in number of frames
// mpeg specific:
size_t ipb[3]; // sizes of I/P/B frames
// muxer of that stream