branch: elpa/mpv
commit ed83369372ea3ba738ef17c06ef6d15b05f7095d
Author: Johann Klähn <joh...@jklaehn.de>
Commit: Johann Klähn <joh...@jklaehn.de>

    Fix mpv-seek-to-position-at-point for start-of-playback position
    
    Thanks to @snowman for reporting this in issue #8.
---
 mpv.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mpv.el b/mpv.el
index a07887ef7f..b057443711 100644
--- a/mpv.el
+++ b/mpv.el
@@ -291,7 +291,7 @@ This can be used with the `org-open-at-point-functions' 
hook."
     (skip-chars-backward ":[:digit:]" (point-at-bol))
     (when (looking-at "[0-9]+:[0-9]\\{2\\}:[0-9]\\{2\\}")
       (let ((secs (org-timer-hms-to-secs (match-string 0))))
-        (when (> secs 0)
+        (when (>= secs 0)
           (mpv-seek secs))))))
 
 ;;;###autoload

Reply via email to