History

avfilter/overlay_cuda: fix framesync with embedded PGS subtitle

nyanmisaka committed 5 years ago

Commit a4e518c1 parent 0c5098d1 file · +4 −1Browse files

Unified · Split

libavfilter/vf_overlay_cuda.c+4−1
@@ -157,9 +157,12 @@ static int overlay_cuda_blend(FFFrameSync *fs) · 156 unmodified lines
157157 if (ret < 0)
158158 return ret;
159159
160− if (!input_main || !input_overlay)
160+ if (!input_main)
161161 return AVERROR_BUG;
162162
163+ if (!input_overlay)
164+ return ff_filter_frame(outlink, input_main);
165+
163166 ret = av_frame_make_writable(input_main);
164167 if (ret < 0) {
165168 av_frame_free(&input_main);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t