Skip to content

Commit

Permalink
🐛 not pass the list by copy
Browse files Browse the repository at this point in the history
  • Loading branch information
tristetemps666 committed Aug 5, 2023
1 parent 96b74eb commit 0b95bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webcam_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ auto ConvertWCharToString(const wchar_t* wcharStr) -> std::string
return ch.data();
}

auto GetVideoParameters(IBaseFilter* pCaptureFilter, std::vector<webcam_info::resolution> list_resolution, webcam_info::pixel_format& pixel_format) -> HRESULT
auto GetVideoParameters(IBaseFilter* pCaptureFilter, std::vector<webcam_info::resolution>& list_resolution, webcam_info::pixel_format& pixel_format) -> HRESULT
{
HRESULT hr = S_OK;
IEnumPins* pEnumPins = nullptr;
Expand Down

0 comments on commit 0b95bed

Please sign in to comment.