summaryrefslogtreecommitdiffstats
path: root/player/video.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/video.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/video.c')
-rw-r--r--player/video.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c
index 387a366666..2b8f03630e 100644
--- a/player/video.c
+++ b/player/video.c
@@ -1072,7 +1072,6 @@ void write_video(struct MPContext *mpctx)
if (mpctx->time_frame <= 0 || !has_frame) {
MP_VERBOSE(mpctx, "video EOF reached\n");
mpctx->video_status = STATUS_EOF;
- encode_lavc_stream_eof(mpctx->encode_lavc_ctx, STREAM_VIDEO);
}
}