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/video.c | 1 - 1 file changed, 1 deletion(-) (limited to 'player/video.c') 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); } } -- cgit v1.2.3