Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Bug determinate getVideoSize #1146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thegobot
Copy link
Contributor

getVideoSize("r0x500") - false
getVideoSize("r500x0") - true

@@ -50,7 +50,7 @@ class VideoResolutionHelper {
} else {
std::string::size_type r = resolution.find("r");
std::string::size_type x = resolution.find("x");
if ((r != std::string::npos) && (x != std::string::npos) && (x > 2)) {
if ((r != std::string::npos) && (x != std::string::npos) && (x > 0)) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the result of "rx500" in this change

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants