Skip to content
Snippets Groups Projects
Commit c3648232 authored by Philippe Gorley's avatar Philippe Gorley Committed by Kateryna Kostiuk
Browse files

osxvideo: fix avfoundation device name


Fixes a bug introduced in "osxvideo: use avfoundation indev" where the
video device didn't have the right name.

Change-Id: Ib2b31191925e89b6478a61812667ed5f86acc5d2
Reviewed-by: default avatarKateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
parent 189de4e6
Branches
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ VideoDeviceImpl::getDeviceParams() const
{
DeviceParams params;
params.name = [[avDevice_ localizedName] UTF8String];
params.input = device;
params.input = params.name;
params.format = "avfoundation";
params.width = current_size_.first;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment