summaryrefslogtreecommitdiffstats
path: root/player/audio.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-09-03 12:29:12 +0200
committerwm4 <wm4@nowhere>2020-09-03 12:29:12 +0200
commit2761f37fe48aa5b3aae3c4d4ce611a6ef07db0ae (patch)
treec7013e26187bef150fcb199111ab0f0145e17a6c /player/audio.c
parentb9baa1598a72d1144053819a97665161565a4a3b (diff)
downloadmpv-2761f37fe48aa5b3aae3c4d4ce611a6ef07db0ae.tar.bz2
mpv-2761f37fe48aa5b3aae3c4d4ce611a6ef07db0ae.tar.xz
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.
Diffstat (limited to 'player/audio.c')
-rw-r--r--player/audio.c1
1 files changed, 0 insertions, 1 deletions
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);
}
}