summaryrefslogtreecommitdiffstats
path: root/libmpdemux/stheader.h
diff options
context:
space:
mode:
authorcorey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-02-18 09:26:39 +0000
committercorey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-02-18 09:26:39 +0000
commitb4e5108496a53bdbb673a35aed6a9ca3114c031b (patch)
tree839a8f181b3ed2b7e8a8c6ba5db870ee5652b965 /libmpdemux/stheader.h
parent366151d7419c64ab24268134c07a4b712b61efa7 (diff)
downloadmpv-b4e5108496a53bdbb673a35aed6a9ca3114c031b.tar.bz2
mpv-b4e5108496a53bdbb673a35aed6a9ca3114c031b.tar.xz
dwStart support for mplayer.
* demux_avi sets stream_delay according to dwStart * mplayer adjusts audio_delay according to stream_delay 3 related patches are pending, and I will apply them over the next few days if all goes well. As I mentioned on -dev-eng, the funny indentation is in preparation for one of those pending patches. See: Date: Fri, 17 Feb 2006 00:53:28 -0800 To: mplayer-dev-eng@mplayerhq.hu Subject: [PATCH] bframes, dwStart: individual patches git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17644 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/stheader.h')
-rw-r--r--libmpdemux/stheader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h
index 5b0aeaceb1..3fcfebac7c 100644
--- a/libmpdemux/stheader.h
+++ b/libmpdemux/stheader.h
@@ -12,6 +12,7 @@ typedef struct {
unsigned int format;
int inited;
float delay; // relative (to sh_video->timer) time in audio stream
+ float stream_delay; // number of seconds stream should be delayed (according to dwStart or similar)
// output format:
int sample_format;
int samplerate;
@@ -54,6 +55,7 @@ typedef struct {
unsigned int format;
int inited;
float timer; // absolute time in video stream, since last start/seek
+ float stream_delay; // number of seconds stream should be delayed (according to dwStart or similar)
// frame counters:
float num_frames; // number of frames played
int num_frames_decoded; // number of frames decoded