From 1585778175460ec6ed56ec0fc29f9b86287ae2aa Mon Sep 17 00:00:00 2001
From: Thilo Borgmann <thilo.borgmann@mail.de>
Date: Fri, 31 May 2019 12:31:36 +0200
Subject: [PATCH] lavd/avfoundation: Test for #7930
---
libavdevice/avfoundation.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
index 98552ac29d..179af22f5d 100644
|
a
|
b
|
static int avf_read_header(AVFormatContext *s)
|
| 669 | 669 | AVCaptureDevice *video_device = nil; |
| 670 | 670 | AVCaptureDevice *audio_device = nil; |
| 671 | 671 | // Find capture device |
| 672 | | NSArray *devices = [AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo]; |
| | 672 | NSArray *devices = [AVCaptureDevice devicesWithMediaType:AVMediaTypeMuxed]; |
| 673 | 673 | ctx->num_video_devices = [devices count]; |
| 674 | 674 | |
| 675 | 675 | ctx->first_pts = av_gettime(); |