On 2/15/2025 12:42 AM, James Almer wrote:
On 2/14/2025 10:28 PM, Andreas Rheinhardt wrote:

What about "auto"? I thought that was a thing. Or do I misremember?

Ah, you're right that's an alias for 0.
I guess i could use av_opt_eval_int(), but maybe it's not worth the hassle.

Actually, it's fine as is. The value for "threads" was parsed before this code. In here, we're using the value as stored in enc_ctx by av_opt_set_dict2() in ost_add(), so "auto" was already interpreted as 0.

I'll push this soon unless there are objections.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to