[FFmpeg-devel] [PATCH] avcodec/mpeg12dec: set FF_CODEC_PROPERTY_CLOSED_CAPTIONS in mpeg_set_cc_format()

Anton Khirnov anton at khirnov.net
Sun Oct 13 14:33:14 EEST 2024


Quoting Marth64 (2024-10-12 20:04:50)
> When Closed Captions are discovered, this method is always invoked.
> Therefore, use it to set the property instead of repeating the statement.
> 
> Signed-off-by: Marth64 <marth64 at proxyid.net>
> ---
>  libavcodec/mpeg12dec.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

Makes sense.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list