diff command.c @ 22488:b6aa3eedf49b

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.
author uau
date Sun, 11 Mar 2007 06:16:14 +0000
parents 662e7f56ec7f
children e1859558b37d
line wrap: on
line diff
--- a/command.c	Sat Mar 10 14:33:28 2007 +0000
+++ b/command.c	Sun Mar 11 06:16:14 2007 +0000
@@ -419,7 +419,7 @@
 	    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: