summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstosssink.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-06-29 19:46:12 +0000
committerBenjamin Otte <otte@gnome.org>2003-06-29 19:46:12 +0000
commit90da904f1e435812ce245928b80cfd325785ff37 (patch)
tree308c8167f16721bbfe4a047e6d798ade33aa968e /sys/oss/gstosssink.c
parent7519af569b22f502f88b9c80e7ce26522e1e9aad (diff)
compatibility fix for new GST_DEBUG stuff.
Original commit message from CVS: compatibility fix for new GST_DEBUG stuff. Includes fixes for missing includes for config.h and unistd.h I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
Diffstat (limited to 'sys/oss/gstosssink.c')
-rw-r--r--sys/oss/gstosssink.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c
index 7bd4c988..1c424058 100644
--- a/sys/oss/gstosssink.c
+++ b/sys/oss/gstosssink.c
@@ -20,11 +20,15 @@
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <sys/ioctl.h>
#include <sys/soundcard.h>
#include <errno.h>
+#include <unistd.h>
-#include <gstosssink.h>
+#include "gstosssink.h"
/* elementfactory information */
static GstElementDetails gst_osssink_details = {
@@ -634,7 +638,7 @@ gst_osssink_change_state (GstElement *element)
gst_osscommon_close_audio (&osssink->common);
GST_FLAG_UNSET (osssink, GST_OSSSINK_OPEN);
- GST_INFO (GST_CAT_PLUGIN_INFO, "osssink: closed sound device");
+ GST_INFO ( "osssink: closed sound device");
}
break;
}