diff options
Diffstat (limited to 'core/mplayer.c')
-rw-r--r-- | core/mplayer.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/mplayer.c b/core/mplayer.c index e18acf9eac..c68c4f3dc2 100644 --- a/core/mplayer.c +++ b/core/mplayer.c @@ -2156,9 +2156,6 @@ static int write_to_ao(struct MPContext *mpctx, void *data, int len, int flags, struct ao *ao = mpctx->ao; double bps = ao->bps / mpctx->opts.playback_speed; ao->pts = pts; - // hack used by some mpeg-writing AOs - ao->brokenpts = ((mpctx->sh_video ? mpctx->sh_video->timer : 0) + - mpctx->delay) * 90000.0; int played = ao_play(mpctx->ao, data, len, flags); if (played > 0) { mpctx->delay += played / bps; @@ -2269,10 +2266,6 @@ static int fill_audio_out_buffers(struct MPContext *mpctx, double endpts) bool modifiable_audio_format = !(ao->format & AF_FORMAT_SPECIAL_MASK); int unitsize = ao->channels * af_fmt2bits(ao->format) / 8; - // hack used by some mpeg-writing AOs - ao->brokenpts = ((mpctx->sh_video ? mpctx->sh_video->timer : 0) + - mpctx->delay) * 90000.0; - if (mpctx->paused) playsize = 1; // just initialize things (audio pts at least) else |