Message ID | 20211217001215.75135-6-rcombs@rcombs.me |
---|---|
State | Accepted |
Commit | c8323350f49dd95a67ceb42cef9cb012673f4598 |
Headers | show |
Series | [FFmpeg-devel,01/10] lavc/videotoolboxenc: use common routine for pixfmt conversion | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | success | Make fate finished |
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index e10373dded..b66d44f6b7 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -2363,6 +2363,7 @@ static int vtenc_send_frame(AVCodecContext *avctx, return status; } +#if CONFIG_ATSC_A53 side_data = av_frame_get_side_data(frame, AV_FRAME_DATA_A53_CC); if (vtctx->a53_cc && side_data && side_data->size) { sei = av_mallocz(sizeof(*sei)); @@ -2377,6 +2378,7 @@ static int vtenc_send_frame(AVCodecContext *avctx, } } } +#endif time = CMTimeMake(frame->pts * avctx->time_base.num, avctx->time_base.den); status = VTCompressionSessionEncodeFrame(