diff options
author | marcus <marcus@FreeBSD.org> | 2004-05-04 20:31:38 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-05-04 20:31:38 +0000 |
commit | 2750b204e8b68a88262d44ea4784a684ebb0cb2a (patch) | |
tree | 245135931f6e631490c74db693f1a36aad43eebf /multimedia/gstreamer-plugins | |
parent | f4f6e196ce540b3271c3d80332ea369d733f4afc (diff) | |
download | FreeBSD-ports-2750b204e8b68a88262d44ea4784a684ebb0cb2a.zip FreeBSD-ports-2750b204e8b68a88262d44ea4784a684ebb0cb2a.tar.gz |
Fix OSS output sink. See http://bugzilla.gnome.org/show_bug.cgi?id=140565 for
more details.
Reported by: Stefan Thurner <thurners@t-online.de>
Obtained from: GStreamer CVS
Diffstat (limited to 'multimedia/gstreamer-plugins')
-rw-r--r-- | multimedia/gstreamer-plugins/Makefile | 1 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins/files/patch-sys_oss_gstosselement.c | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile index 422d85d..ed3c299 100644 --- a/multimedia/gstreamer-plugins/Makefile +++ b/multimedia/gstreamer-plugins/Makefile @@ -7,6 +7,7 @@ PORTNAME= gstreamer PORTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= multimedia audio MASTER_SITES= ${MASTER_SITE_GNOME} \ http://gstreamer.freedesktop.org/src/gst-plugins/ diff --git a/multimedia/gstreamer-plugins/files/patch-sys_oss_gstosselement.c b/multimedia/gstreamer-plugins/files/patch-sys_oss_gstosselement.c new file mode 100644 index 0000000..3f645e9 --- /dev/null +++ b/multimedia/gstreamer-plugins/files/patch-sys_oss_gstosselement.c @@ -0,0 +1,25 @@ +=================================================================== +RCS file: /cvs/gstreamer/gst-plugins/sys/oss/gstosselement.c,v +retrieving revision 1.35 +retrieving revision 1.36 +diff -u -r1.35 -r1.36 +--- sys/oss/gstosselement.c 2004/04/18 20:14:36 1.35 ++++ sys/oss/gstosselement.c 2004/04/29 23:45:03 1.36 +@@ -1168,6 +1168,17 @@ + probe->min = gst_osselement_rate_check_rate (probe, 1000); + n_checks++; + probe->max = gst_osselement_rate_check_rate (probe, 100000); ++ /* a little bug workaround */ ++ { ++ int max; ++ ++ max = gst_osselement_rate_check_rate (probe, 48000); ++ if (max > probe->max) { ++ GST_ERROR ++ ("Driver bug recognized (driver does not round rates correctly). Please file a bug report."); ++ probe->max = max; ++ } ++ } + n_checks++; + if (probe->min == -1 || probe->max == -1) { + GST_DEBUG ("unexpected check_rate error"); |