summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstosssink.c
diff options
context:
space:
mode:
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;
}