25 lines
868 B
Diff
25 lines
868 B
Diff
|
https://github.com/ozmartian/vidcutter/commit/8010f5c64efe68d8130a036f976d2d2ff1c868ad.patch
|
||
|
|
||
|
From 8010f5c64efe68d8130a036f976d2d2ff1c868ad Mon Sep 17 00:00:00 2001
|
||
|
From: Pete Alexandrou <pete@ozmartians.com>
|
||
|
Date: Tue, 22 Feb 2022 16:08:24 +1100
|
||
|
Subject: [PATCH] fix libmpv version number format
|
||
|
|
||
|
---
|
||
|
vidcutter/libs/mpvwidget.py | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/vidcutter/libs/mpvwidget.py b/vidcutter/libs/mpvwidget.py
|
||
|
index 239b6c9c..6661ad85 100644
|
||
|
--- a/vidcutter/libs/mpvwidget.py
|
||
|
+++ b/vidcutter/libs/mpvwidget.py
|
||
|
@@ -247,7 +247,7 @@ def format(self, stream: str='video') -> str:
|
||
|
|
||
|
def version(self) -> str:
|
||
|
ver = self.mpv.api_version
|
||
|
- return '{0}.{1}'.format(ver[0], ver[1])
|
||
|
+ return '{0}.{1}'.format(ver[1], ver[0])
|
||
|
|
||
|
def option(self, option: str, val):
|
||
|
if isinstance(val, bool):
|