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

Michael Niedermayer michael at niedermayer.cc
Thu Nov 16 03:53:48 EET 2017


On Wed, Nov 15, 2017 at 02:49:40AM +0000, 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 breaks out of one loop only instead of two.)
> 
> rgds,
> Roman
> 
> -----
> diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
> index e2ddf47dbe..463ae60b63 100644
> --- a/libavdevice/avfoundation.m
> +++ b/libavdevice/avfoundation.m
> @@ -312,6 +312,7 @@ static int configure_video_device(AVFormatContext *s,
> AVCaptureDevice *video_dev
>                  }

Applying: avfoundation, unsupported framerate/activeVideoMinFrameDuration
error: corrupt patch at line 6

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171116/57c59abf/attachment.sig>


More information about the ffmpeg-devel mailing list