--- libavdevice/avfoundation.m | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index 61dac4b713..b625990c37 100644 --- a/libavdevice/avfoundation.m +++ b/libavdevice/avfoundation.m @@ -375,6 +375,15 @@ static int configure_video_device(AVFormatContext *s, AVCaptureDevice *video_dev break; } } + + if(selected_range){ + /** + * Each format can have different frame rate ranges. + * Other format could have the same dimensions and override the selected format, + * this would cause a configuration error. + */ + break; + } } } -- 2.39.3 (Apple Git-145) -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. _______________________________________________ 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".