Re: [FFmpeg-devel] [PATCH] avfoundation, unsupported framerate/activeVideoMinFrameDuration

2017-11-15 Thread Michael Niedermayer
On Wed, Nov 15, 2017 at 02:49:40AM +, Roman Puttkammer wrote: > Hi, > > Attached patch fixes an issue with avfoundation; the code continues to > loop through > the list of > supported formats/framerates even after finding the chosen one, ending up > with a bad format/rate > combination. (Code

[FFmpeg-devel] [PATCH] avfoundation, unsupported framerate/activeVideoMinFrameDuration

2017-11-14 Thread Roman Puttkammer
Hi, Attached patch fixes an issue with avfoundation; the code continues to loop through the list of supported formats/framerates even after finding the chosen one, ending up with a bad format/rate combination. (Code breaks out of one loop only instead of two.) rgds, Roman - diff --git