openbsd-ports/devel/gstreamer-plugins/patches/patch-sys_oss_gstosselement_c
jakemsr 468e026756 - use exact width data types for libfaad interaction
- LIB_DEPENDS-faad libfaad >= 1.0
- bump PKGNAME-main and PKGNAME-${PLUGIN}
- remove unused PATCHLEVEL variable
- adjust WANTLIB-main and WANTLIB-gnome as per lib-depends-check
- sync patches with update-patches

OK naddy@
2007-06-29 06:13:44 +00:00

22 lines
801 B
Plaintext

$OpenBSD: patch-sys_oss_gstosselement_c,v 1.3 2007/06/29 06:13:44 jakemsr Exp $
--- sys/oss/gstosselement.c.orig Tue Feb 22 07:23:05 2005
+++ sys/oss/gstosselement.c Fri Jun 1 22:17:42 2007
@@ -263,7 +263,7 @@ gst_osselement_class_probe_devices (GstOssElementClass
if (!init && !check) {
#define MIXER 0
#define DSP 1
- gchar *dev_base[][2] = { {"/dev/mixer", "/dev/dsp"}
+ gchar *dev_base[][2] = { {"/dev/mixer", "/dev/sound"}
,
{"/dev/sound/mixer", "/dev/sound/dsp"}
,
@@ -424,7 +424,7 @@ gst_ossprobe_interface_init (GstPropertyProbeInterface
static void
gst_osselement_init (GstOssElement * oss)
{
- oss->device = g_strdup ("/dev/dsp");
+ oss->device = g_strdup ("/dev/sound");
oss->mixer_dev = g_strdup ("/dev/mixer");
oss->fd = -1;
oss->mixer_fd = -1;