Index: Makefile =================================================================== --- Makefile (revision 446366) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= mpv PORTVERSION= 0.26.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= multimedia audio Index: files/patch-audio_out_ao__oss.c =================================================================== --- files/patch-audio_out_ao__oss.c (nonexistent) +++ files/patch-audio_out_ao__oss.c (working copy) @@ -0,0 +1,14 @@ +--- audio/out/ao_oss.c.orig 2017-07-22 06:22:09 UTC ++++ audio/out/ao_oss.c +@@ -387,8 +387,9 @@ static int reopen_device(struct ao *ao, + } + } + +- ao->period_size = channels.num * af_fmt_to_bytes(format); +- p->outburst -= p->outburst % ao->period_size; // round down ++ int sstride = channels.num * af_fmt_to_bytes(format); ++ p->outburst -= p->outburst % sstride; // round down ++ ao->period_size = p->outburst / sstride; + + return 0; + Property changes on: files/patch-audio_out_ao__oss.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property