summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-22 22:47:15 +0200
committerwm4 <wm4@nowhere>2013-09-25 13:53:42 +0200
commit7c3f1ffc44b532590e661315b42fea5b6d1ae40c (patch)
tree30f96bfb61b5cd46d36cae0480de58bb7de8b8b5 /DOCS
parent39d1ab82e5a3ac30e5495c6b6773823c2ff56594 (diff)
downloadmpv-7c3f1ffc44b532590e661315b42fea5b6d1ae40c.tar.bz2
mpv-7c3f1ffc44b532590e661315b42fea5b6d1ae40c.tar.xz
vd_lavc: allow process_image to change image format
This will allow GPU read-back with process_image. We have to restructure how init_vo() works. Instead of initializing the VO before process_image is called, rename init_vo() to update_image_params(), and let it update the params only. Then we really initialize the VO after process_image. As a consequence of these changes, already decoded hw frames are correctly unreferenced if creation of the filter chain fails. This could trigger assertions on VO uninitialization, because it's not allowed to reference hw frames past VO lifetime.
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions