We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f9d55d commit 8261088Copy full SHA for 8261088
dartvlc/internal/events.h
@@ -124,7 +124,7 @@ class PlayerEvents : public PlayerGetters {
124
int32_t video_width = 0;
125
int32_t video_height = 0;
126
if (preferred_video_width_.has_value() &&
127
- preferred_video_width_.has_value()) {
+ preferred_video_height_.has_value()) {
128
video_width = preferred_video_width_.value_or(0);
129
video_height = preferred_video_height_.value_or(0);
130
} else {
0 commit comments