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;
/* 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()