mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 20:27:23 +00:00
player: actually close files on playback end
Regression since commit 75b1d504
.
This commit is contained in:
parent
a6e33b4290
commit
00b60710cf
@ -90,7 +90,7 @@ static void uninit_demuxer(struct MPContext *mpctx)
|
||||
timeline_destroy(mpctx->tl);
|
||||
mpctx->tl = NULL;
|
||||
|
||||
free_demuxer(mpctx->master_demuxer);
|
||||
free_demuxer_and_stream(mpctx->master_demuxer);
|
||||
mpctx->master_demuxer = NULL;
|
||||
|
||||
talloc_free(mpctx->sources);
|
||||
|
Loading…
Reference in New Issue
Block a user