commit | 5e34506566d03b0b566fc46c145d0e9d473e9807 | [log] [tgz] |
---|---|---|
author | Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com> | Sat Nov 09 16:34:15 2019 -0500 |
committer | Andreas Traczyk <andreas.traczyk@savoirfairelinux.com> | Sat Nov 09 20:06:49 2019 -0400 |
tree | 9a801949b6342b4e79a6fa01cf236be7d13e348e | |
parent | 1743676671346857199a277551cf87cf0e389791 [diff] [blame] |
video macOS: use device id Change-Id: I341fcfda799bc9bda2f3683a4cf3e59d24bda269
diff --git a/src/media/video/osxvideo/video_device_impl.mm b/src/media/video/osxvideo/video_device_impl.mm index 45a3cbf..e16cee1 100644 --- a/src/media/video/osxvideo/video_device_impl.mm +++ b/src/media/video/osxvideo/video_device_impl.mm
@@ -112,7 +112,7 @@ { DeviceParams params; params.name = [[avDevice_ localizedName] UTF8String]; - params.input = [[avDevice_ localizedName] UTF8String]; + params.input = id; params.framerate = rate_; params.format = "avfoundation"; params.pixel_format = "nv12";