mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-05 08:47:30 +08:00
fixup! lavf/rkrga: add RKRGA scale, vpp and overlay filter
fix nv24/nv42 check on rga2p Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
@@ -800,6 +800,8 @@ static av_cold int verify_rga_frame_info(AVFilterContext *avctx,
|
|||||||
/* NV24/NV42 requires RGA2-Pro */
|
/* NV24/NV42 requires RGA2-Pro */
|
||||||
if (!r->has_rga2p &&
|
if (!r->has_rga2p &&
|
||||||
(src->pix_fmt == AV_PIX_FMT_NV24 ||
|
(src->pix_fmt == AV_PIX_FMT_NV24 ||
|
||||||
|
src->pix_fmt == AV_PIX_FMT_NV42 ||
|
||||||
|
dst->pix_fmt == AV_PIX_FMT_NV24 ||
|
||||||
dst->pix_fmt == AV_PIX_FMT_NV42)) {
|
dst->pix_fmt == AV_PIX_FMT_NV42)) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "'%s' and '%s' are only supported by RGA2-Pro\n",
|
av_log(avctx, AV_LOG_ERROR, "'%s' and '%s' are only supported by RGA2-Pro\n",
|
||||||
av_get_pix_fmt_name(AV_PIX_FMT_NV24),
|
av_get_pix_fmt_name(AV_PIX_FMT_NV24),
|
||||||
|
Reference in New Issue
Block a user