summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-11 06:16:14 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-11 06:16:14 +0000
commitc60af33716cee5c4f515b47308c5a43556624990 (patch)
tree96aae4fa1495e9ae028bdb3973a318504fd9fb7b /command.c
parentccb97f109804f236bc13d25c200dbdc01c0a93cb (diff)
downloadmpv-c60af33716cee5c4f515b47308c5a43556624990.tar.bz2
mpv-c60af33716cee5c4f515b47308c5a43556624990.tar.xz
Move the sh_audio->delay field to mpctx->delay.
The value is related to overall a/v sync and is not used by audio demuxers or decoders. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22506 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index 68d54041eb..a89ae1a27e 100644
--- a/command.c
+++ b/command.c
@@ -419,7 +419,7 @@ static int mp_property_audio_delay(m_option_t * prop, int action,
float delay = audio_delay;
m_property_delay(prop, action, arg, &audio_delay);
if (mpctx->sh_audio)
- mpctx->sh_audio->delay -= audio_delay - delay;
+ mpctx->delay -= audio_delay - delay;
}
return M_PROPERTY_OK;
default: