X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/47b30f6e7242156524a793fd91234d95f92cf3a1..8984626c9c113a1232bf5b4595a0eb886e1db7c6:/examples/am7xxx-play.c diff --git a/examples/am7xxx-play.c b/examples/am7xxx-play.c index e3ceb5c..81aff84 100644 --- a/examples/am7xxx-play.c +++ b/examples/am7xxx-play.c @@ -211,6 +211,7 @@ static int video_output_init(struct video_output_ctx *output_ctx, goto out; } + /* YUVJ420P is deprecated in swscaler, but mjpeg still relies on it. */ output_codec_ctx->pix_fmt = AV_PIX_FMT_YUVJ420P; output_codec_ctx->codec_id = AV_CODEC_ID_MJPEG; output_codec_ctx->codec_type = AVMEDIA_TYPE_VIDEO; @@ -439,7 +440,7 @@ static int am7xxx_play(const char *input_format_string, /* if we got the complete frame */ if (got_frame) { - /* + /* * Rescaling the frame also changes its pixel format * to the raw format supported by the projector if * this was set in video_output_init()