lavf: make overlay_qsv work based on framesync
authorRuiling Song <ruiling.song@intel.com>
Tue, 3 Apr 2018 01:50:19 +0000 (09:50 +0800)
committerMark Thompson <sw@jkqxz.net>
Sat, 21 Apr 2018 18:00:43 +0000 (19:00 +0100)
commitf3341a0452419c57faf4d28aebb24be5d41312f3
treecbe032ea02a17e0c8646eb4946e23fbf9aa5accc
parent21da248b5fee28cee4a160edb415e0caa446806c
lavf: make overlay_qsv work based on framesync

The existing version which was cherry-picked from Libav does not work
with FFmpeg framework, because ff_request_frame() was totally
different between Libav (recursive) and FFmpeg (non-recursive).
The existing overlay_qsv implementation depends on the recursive version
of ff_request_frame to trigger immediate call to request_frame() on input pad.
But this has been removed in FFmpeg since "lavfi: make request_frame() non-recursive."
Now that we have handy framesync support in FFmpeg, so I make it work
based on framesync. Some other fixing which is also needed to make
overlay_qsv work are put in a separate patch.

Signed-off-by: Ruiling Song <ruiling.song@intel.com>
libavfilter/Makefile
libavfilter/vf_overlay_qsv.c