diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-26 21:25:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-29 16:18:20 +0200 |
commit | d64ba25a4dd7951e6ac63ecad55a1dfe665d15b0 (patch) | |
tree | 02e97e206613823c347a42758e5968d967c308a9 /libavcodec/flicvideo.c | |
parent | f40ec70478648c1e6cde43b8577c3c29380372ee (diff) | |
download | ffmpeg-d64ba25a4dd7951e6ac63ecad55a1dfe665d15b0.tar.gz |
ffplay: Use sws_scale to scale subtitles
Fixes some files from Ticket679
This also changes subtitles to 4:2:0 matching the output format and thus
simplifying the blend code.
This restricts placement to the chroma sample resolution though, speak up
if you consider this a problem, say so, the code could be changed to use
YUV444 for subtitles and scaling them down while blending, this would be
slower though.
The current code only uses a single swscale context and reinitializes it
as needed, this could be changed as well if needed
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/flicvideo.c')
0 files changed, 0 insertions, 0 deletions