summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins-good/files/patch-sys_oss_gstossmixer.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2008-12-24 16:14:10 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2008-12-24 16:14:10 +0000
commit8df9736e975594b0ee7d1a27ac5eb1b277b820cc (patch)
tree42ff3c02d1750931102009a6d31d9d0663e6c46c /multimedia/gstreamer-plugins-good/files/patch-sys_oss_gstossmixer.c
parent- Update to 1.3.0. (diff)
Allow PCM to be an available mixer track.
Tested by: Joseph S. Atkinson
Diffstat (limited to 'multimedia/gstreamer-plugins-good/files/patch-sys_oss_gstossmixer.c')
-rw-r--r--multimedia/gstreamer-plugins-good/files/patch-sys_oss_gstossmixer.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins-good/files/patch-sys_oss_gstossmixer.c b/multimedia/gstreamer-plugins-good/files/patch-sys_oss_gstossmixer.c
new file mode 100644
index 000000000000..598fadef8eb6
--- /dev/null
+++ b/multimedia/gstreamer-plugins-good/files/patch-sys_oss_gstossmixer.c
@@ -0,0 +1,11 @@
+--- sys/oss/gstossmixer.c.bak 2006-08-16 05:25:17.000000000 -0400
++++ sys/oss/gstossmixer.c 2008-12-24 00:27:14.000000000 -0500
+@@ -146,7 +146,7 @@ gst_ossmixer_ensure_track_list (GstOssMi
+
+ /* do we want this in our list? */
+ if (!((mixer->dir & GST_OSS_MIXER_CAPTURE && input == TRUE) ||
+- (mixer->dir & GST_OSS_MIXER_PLAYBACK && i != SOUND_MIXER_PCM)))
++ (mixer->dir & GST_OSS_MIXER_PLAYBACK)))
+ /* the PLAYBACK case seems hacky, but that's how 0.8 had it */
+ continue;
+