mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-24 02:09:03 +03:00
fftools/ffmpeg_filter: check sub2video_frame() return value when flushing the queue
This commit is contained in:
committed by
michaelni
parent
5e42af52ad
commit
250f0f1624
@@ -2309,7 +2309,7 @@ static int configure_filtergraph(FilterGraph *fg, FilterGraphThread *fgt)
|
||||
AVFrame *tmp;
|
||||
while (av_fifo_read(ifp->frame_queue, &tmp, 1) >= 0) {
|
||||
if (ifp->type_src == AVMEDIA_TYPE_SUBTITLE) {
|
||||
sub2video_frame(&ifp->ifilter, tmp, !fgt->graph);
|
||||
ret = sub2video_frame(&ifp->ifilter, tmp, !fgt->graph);
|
||||
} else {
|
||||
if (ifp->type_src == AVMEDIA_TYPE_VIDEO) {
|
||||
if (ifp->displaymatrix_applied)
|
||||
|
||||
Reference in New Issue
Block a user