[FFmpeg-devel] [PATCH 2/3] avcodec/videotoolboxenc: remove AUTO_PROFILE define
"zhilizhao(赵志立)"
quinkblack at foxmail.com
Sun Jun 25 09:48:32 EEST 2023
> On Jun 24, 2023, at 17:21, Tomas Härdin <git at haerdin.se> wrote:
>
> fre 2023-06-09 klockan 19:14 +0800 skrev Zhao Zhili:
>> From: Zhao Zhili <zhilizhao at tencent.com>
>>
>> Use FF_PROFILE_UNKNOWN as auto mode.
>
> Won't this break code that relies on AUTO_PROFILE? On the other hand
If you mean that setting profile via the integer number is broken, I had
the same consideration. Rick said "Only the string representation of the
profiles are documented. The mapping from integer to profile isn’t.”
I agree on this simple case.
http://ffmpeg.org/pipermail/ffmpeg-devel/2023-May/310074.html
> zero refers to profiles that actually exist such as profile0 for vp9,
> so the old behavior is kinda bad.
>
> /Tomas
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list