This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Source: https://gist.github.com/NearHuscarl/5d366e1a3b788814bcbea62c1f66241d | |
# | |
# Use wofi to pick emoji because that's what this | |
# century is about apparently... | |
# | |
# Requirements: | |
# wofi, wlroots based compositor | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/source/common/param.cpp b/source/common/param.cpp | |
index 8695ad686..f3aaccd54 100755 | |
--- a/source/common/param.cpp | |
+++ b/source/common/param.cpp | |
@@ -1359,9 +1359,9 @@ int x265_param_parse(x265_param* p, const char* name, const char* value) | |
{ | |
if (window1 > 0) | |
p->fwdScenecutWindow = window1; | |
- if (refQpDelta1 > 0) | |
+ if (refQpDelta1 >= 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xml.etree.ElementTree as ET | |
import math | |
tree = ET.parse('timestamps.xml') | |
in_format = tree.find('Description/Format') | |
fps = float(in_format.attrib['FrameRate']) | |
lines = tree.findall('Events/Event') |
NewerOlder