summaryrefslogtreecommitdiff
path: root/mkvlib
diff options
context:
space:
mode:
Diffstat (limited to 'mkvlib')
-rw-r--r--mkvlib/shared.go2
-rw-r--r--mkvlib/utils.go3
2 files changed, 4 insertions, 1 deletions
diff --git a/mkvlib/shared.go b/mkvlib/shared.go
index b07c828..8d89cde 100644
--- a/mkvlib/shared.go
+++ b/mkvlib/shared.go
@@ -11,7 +11,7 @@ import (
)
const libName = "mkvlib"
-const libVer = "v1.2.8"
+const libVer = "v1.2.9"
const LibFName = libName + " " + libVer
diff --git a/mkvlib/utils.go b/mkvlib/utils.go
index 802b94e..4615975 100644
--- a/mkvlib/utils.go
+++ b/mkvlib/utils.go
@@ -41,6 +41,9 @@ func findPath(path, expr string) (list []string, err error) {
}
err = queryPath(path, func(path string) bool {
if expr == "" || reg.MatchString(path) {
+ if !filepath.IsAbs(path) {
+ path, _ = filepath.Abs(path)
+ }
list = append(list, path)
}
return true