diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-02-22 00:30:32 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-02-22 00:30:32 +0800 |
commit | bccffb9289b9ccbd27edddbb7345031121269260 (patch) | |
tree | 0880a6e19ea67d385e326443fc5ac78b47b5d599 /multimedia | |
parent | cbbbcfdf686586963375eb6bce5965ca5a266174 (diff) | |
download | marcuscom-ports-bccffb9289b9ccbd27edddbb7345031121269260.tar marcuscom-ports-bccffb9289b9ccbd27edddbb7345031121269260.tar.gz marcuscom-ports-bccffb9289b9ccbd27edddbb7345031121269260.tar.bz2 marcuscom-ports-bccffb9289b9ccbd27edddbb7345031121269260.tar.lz marcuscom-ports-bccffb9289b9ccbd27edddbb7345031121269260.tar.xz marcuscom-ports-bccffb9289b9ccbd27edddbb7345031121269260.tar.zst marcuscom-ports-bccffb9289b9ccbd27edddbb7345031121269260.zip |
Add forgotten patch.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10466 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gstreamer-plugins-good/files/patch-sys_oss_gstosshelper.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins-good/files/patch-sys_oss_gstosshelper.c b/multimedia/gstreamer-plugins-good/files/patch-sys_oss_gstosshelper.c new file mode 100644 index 000000000..34fdd3119 --- /dev/null +++ b/multimedia/gstreamer-plugins-good/files/patch-sys_oss_gstosshelper.c @@ -0,0 +1,20 @@ +--- sys/oss/gstosshelper.c.orig Sun Apr 2 03:23:53 2006 ++++ sys/oss/gstosshelper.c Sun Apr 2 03:25:44 2006 +@@ -343,13 +344,17 @@ gst_oss_helper_rate_check_rate (GstOssPr + int format; + int n_channels; + int ret; ++ int rst; + + rate = irate; + format = probe->format; + n_channels = probe->n_channels; ++ rst = 4000; /* XXX Lowest supported rate for FreeBSD. */ + + GST_LOG ("checking format %d, channels %d, rate %d", + format, n_channels, rate); ++ /* Reset rate to lowest supported rate. */ ++ ioctl (probe->fd, SNDCTL_DSP_SPEED, &rst); + ret = ioctl (probe->fd, SNDCTL_DSP_SETFMT, &format); + if (ret < 0) + return -1; |