Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Fix video format sorting function #191

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

Conversation

peat-psuwit
Copy link

Commit 18e54e7 (Fix video formats
handling code) converts "operator <" to sort comparison function
itself. However, it doesn't invert the operator inside it. This means
now video formats are sorted from small to large instead of from large
to small.

This commit inverts the operator inside the function, so that it now
sort correctly.

Commit 18e54e7 (Fix video formats
handling code) converts "operator <" to sort comparision function
itself. However, it doesn't invert the operator inside it. This means
now video formats are sorted from small to large instead of from large
to small.

This commit inverts the operator inside the function, so that it now
sort correctly.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant