From 2761f37fe48aa5b3aae3c4d4ce611a6ef07db0ae Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 3 Sep 2020 12:29:12 +0200 Subject: encode: remove early EOF failure handling I don't see the point of this. Not doing it may defer an error to later. That's OK? For now, it seems better to reduce the encoding internal API. If someone can demonstrate that this is needed, I might reimplement it in a different way. --- player/audio.c | 1 - 1 file changed, 1 deletion(-) (limited to 'player/audio.c') diff --git a/player/audio.c b/player/audio.c index 739122531f..f4175bc901 100644 --- a/player/audio.c +++ b/player/audio.c @@ -927,7 +927,6 @@ void fill_audio_out_buffers(struct MPContext *mpctx) MP_VERBOSE(mpctx, "audio EOF reached\n"); mpctx->audio_status = STATUS_EOF; mp_wakeup_core(mpctx); - encode_lavc_stream_eof(mpctx->encode_lavc_ctx, STREAM_AUDIO); } } -- cgit v1.2.3