summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
Diffstat (limited to 'player')
-rw-r--r--player/audio.c1
-rw-r--r--player/video.c1
2 files changed, 0 insertions, 2 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);
}
}
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);
}
}