Skip to content

Commit

Permalink
Fix Canon EOS M50 Mark2 preview size (#992)
Browse files Browse the repository at this point in the history
Adding M50m2 to exception list results in preview size increase from 480x320 to 960x640
  • Loading branch information
kirill9617 authored Aug 12, 2024
1 parent c58709d commit f451558
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion camlibs/ptp2/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,8 @@ camera_prepare_canon_eos_capture(Camera *camera, GPContext *context) {
* NOT NEEDED for EOS M6 Mark II ... this behaves like a regular EOS no-M and will disable tethering if we set output=8.
*/
if ( is_canon_eos_m (params) &&
(strcmp(params->deviceinfo.Model,"Canon EOS M6 Mark II") != 0)
(strcmp(params->deviceinfo.Model,"Canon EOS M6 Mark II") != 0)&&
(strcmp(params->deviceinfo.Model,"Canon EOS M50m2") != 0)
) {
/* This code is needed on EOS m3 at least. might not be needed on others ... mess :/ */
PTPPropertyValue ct_val;
Expand Down

0 comments on commit f451558

Please sign in to comment.