mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01:00
fftools/ffmpeg: pass subtitle decoder dimensions to sub2video
Restores behavior from before 20cacfe493.
Eventually this should be handled similarly to audio/video - with a
filtergraph reset or a manual scaler.
This commit is contained in:
@@ -509,6 +509,9 @@ static int transcode_subtitles(InputStream *ist, const AVPacket *pkt,
|
||||
return ret;
|
||||
}
|
||||
|
||||
frame->width = ist->dec_ctx->width;
|
||||
frame->height = ist->dec_ctx->height;
|
||||
|
||||
ret = tq_send(d->queue_out, 0, frame);
|
||||
if (ret < 0)
|
||||
av_frame_unref(frame);
|
||||
|
||||
Reference in New Issue
Block a user