diff options
author | ahze <ahze@FreeBSD.org> | 2006-04-30 07:03:03 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2006-04-30 07:03:03 +0800 |
commit | 37141a4239ce132a460689dacc49f431214e670b (patch) | |
tree | 841e14a903993df6f2654c4de34024a326f9e59b /multimedia/gstreamer-plugins-good/files | |
parent | 8967d0ac35824f19b6b0545589662965de0f1988 (diff) | |
download | freebsd-ports-gnome-37141a4239ce132a460689dacc49f431214e670b.tar.gz freebsd-ports-gnome-37141a4239ce132a460689dacc49f431214e670b.tar.zst freebsd-ports-gnome-37141a4239ce132a460689dacc49f431214e670b.zip |
- Update gstreamer to 0.10
- Move all old gstreamer 0.8 ports to gstreamer*80 [1]
- Chase all ports with new gstreamer or gstreaemer moves
Repocopied by: marcus [1]
Diffstat (limited to 'multimedia/gstreamer-plugins-good/files')
-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 000000000000..34fdd31191a2 --- /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; |