Files
mpv/video
wm4 e42a08340b vd_lavc: release surfaces before destroying decoder
Commit b53cb8de added a delay queue for decoded frames. This is supposed
to be used with copy-back decoders like dxva2-copy and vaapi-copy.
Surfaces returned by them can't be referenced after uninitializing the
decoders, so they have to be released before destroying the decoder.
Move the flush_all() call above decoder uninit accordingly. Also move
the destruction of the AVFrame used for decoding (just for being
defensive - normally it doesn't hold any reference).
2016-01-30 20:59:25 +01:00
..
2015-04-13 12:10:01 +02:00
2015-09-25 19:18:16 +02:00
2015-09-25 19:18:16 +02:00
2015-09-28 22:03:14 +02:00
2014-07-10 00:58:56 +02:00
2016-01-11 20:30:36 +01:00
2016-01-11 20:30:36 +01:00