commit 3aa75c64d7d3cdcf3988263eaf4d073dc7c89e50 from: Omar Polo date: Sat Jul 09 10:42:39 2022 UTC allow to seek to the beginning with -1 if the computed seek was less than 0 it skips the seek. It's more useful to just rewind to the beginning. commit - 3a3e6aed5177ee3930051e0ae3c7d41160fe3a10 commit + 3aa75c64d7d3cdcf3988263eaf4d073dc7c89e50 blob - 25f2a3acd47767a1524498b0ea97d08b54ae2ee6 blob + 3b2db90ddb542dc8730e9b3272d9cef356c7bb42 --- player.c +++ player.c @@ -199,7 +199,7 @@ again: if (seek.relative) *s += samples; if (*s < 0) - *s = -1; + *s = 0; break; default: fatalx("unknown imsg %d", imsg.hdr.type);