]> git.sesse.net Git - ffmpeg/commit
ffplay: only use hardware accelerated SDL texture formats
authorMarton Balint <cus@passwd.hu>
Sat, 28 Oct 2017 20:46:08 +0000 (22:46 +0200)
committerMarton Balint <cus@passwd.hu>
Sat, 4 Nov 2017 18:27:37 +0000 (19:27 +0100)
commit415038f2bd321a3b41564d4e0c6c17d7a096c397
treefdc73386074b9ccb24701acbd42d3d43a4da766a
parent84d31e2475c41b0a69a11c4cba54755d034bb341
ffplay: only use hardware accelerated SDL texture formats

Typically only a small subset of the SDL texture formats are supported directly
by the SDL renderer drivers, the rest is software emulated. It's better if
libswscale does the format conversion to a hardware-accelerated texture format
instead of SDL.

This should fix video render slowdowns with some texture formats after
3bd2228d05a05eab5f91ac00b01efac9cb07649b.

Signed-off-by: Marton Balint <cus@passwd.hu>
fftools/ffplay.c