[FFmpeg-devel] [PATCH v3] avcodec/vaapi_encode_h264: add support for a/53 closed caption sei

Michael Niedermayer michael at niedermayer.cc
Mon Aug 5 23:15:42 EEST 2019


On Mon, Aug 05, 2019 at 10:58:43AM -0700, Aman Gupta wrote:
> From: Aman Gupta <aman at tmm1.net>
> 
> Signed-off-by: Aman Gupta <aman at tmm1.net>
> ---
>  libavcodec/vaapi_encode_h264.c | 30 +++++++++++++++++++++++++++++-
>  1 file changed, 29 insertions(+), 1 deletion(-)
> 
> diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c
> index f4965d8b09..280bd4752b 100644
> --- a/libavcodec/vaapi_encode_h264.c
> +++ b/libavcodec/vaapi_encode_h264.c
> @@ -39,6 +39,7 @@ enum {
>      SEI_TIMING         = 0x01,
>      SEI_IDENTIFIER     = 0x02,
>      SEI_RECOVERY_POINT = 0x04,
> +    SEI_A53_CC         = 0x08,
>  };
>  
>  // Random (version 4) ISO 11578 UUID.
> @@ -72,6 +73,7 @@ typedef struct VAAPIEncodeH264Context {
>      int sei;
>      int profile;
>      int level;
> +    bool enable_a53_cc;

does not build

make
CC	libavcodec/vaapi_encode_h264.o
libavcodec/vaapi_encode_h264.c:76:5: error: unknown type name ‘bool’
     bool enable_a53_cc;
     ^
make: *** [libavcodec/vaapi_encode_h264.o] Error 1


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190805/68673115/attachment.sig>


More information about the ffmpeg-devel mailing list