-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch: update vtenc hevc rext, hevc profile warning
profile value should be rext, conform the spec, see decode_profile_tier_level() in ps.c. -c:v hevc_videotoolbox -profile:v main42210 or -c:v hevc_videotoolbox -profile:v rext
- Loading branch information
Showing
2 changed files
with
41 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
patches/master/0031-hevc-disable-Unknown-profile-bitstream-warning-for-s.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 476fb02d88e8d86c1883f81b40d5d9ba57f95487 Mon Sep 17 00:00:00 2001 | ||
From: wang-bin <wbsecg1@gmail.com> | ||
Date: Tue, 15 Oct 2024 17:07:02 +0800 | ||
Subject: [PATCH 31/31] hevc: disable Unknown profile bitstream warning for | ||
small configuration | ||
|
||
--- | ||
libavcodec/hevc/ps.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/libavcodec/hevc/ps.c b/libavcodec/hevc/ps.c | ||
index a1d352eec5..0efb4bc393 100644 | ||
--- a/libavcodec/hevc/ps.c | ||
+++ b/libavcodec/hevc/ps.c | ||
@@ -254,9 +254,9 @@ static int decode_profile_tier_level(GetBitContext *gb, AVCodecContext *avctx, | ||
profile_name = ff_hevc_profiles[i].name; | ||
break; | ||
} | ||
-#endif | ||
av_log(avctx, profile_name ? AV_LOG_DEBUG : AV_LOG_WARNING, | ||
"%s profile bitstream\n", profile_name ? profile_name : "Unknown"); | ||
+#endif | ||
|
||
for (i = 0; i < 32; i++) { | ||
ptl->profile_compatibility_flag[i] = get_bits1(gb); | ||
-- | ||
2.39.5 (Apple Git-154) | ||
|