FreeBSD Bugzilla – Attachment 184594 Details for
Bug 220920
multimedia/mpv: Fix 0.26.0 regression with oss output
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix from upstream
mpv026_fix_oss_output.patch (text/plain), 1.30 KB, created by
Oleh Hushchenkov
on 2017-07-22 10:53:47 UTC
(
hide
)
Description:
Fix from upstream
Filename:
MIME Type:
Creator:
Oleh Hushchenkov
Created:
2017-07-22 10:53:47 UTC
Size:
1.30 KB
patch
obsolete
>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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
cpm
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 220920
:
184587
| 184594