Fix caps definition. Fix copyright block.

Original commit message from CVS:
Fix caps definition.  Fix copyright block.
This commit is contained in:
David Schleef 2003-09-11 19:19:55 +00:00
parent 69a6bfdda0
commit 719093623c

View file

@ -1,7 +1,6 @@
/* GStreamer /* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu> * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
* *
* Most of the code from maswavplay and esdsink
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
@ -18,15 +17,21 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
/*
* Portions derived from maswavplay.c (distributed under the X11
* license):
*
* Copyright (c) 2001-2003 Shiman Associates Inc. All Rights Reserved.
* Copyright (c) 2000, 2001 by Shiman Associates Inc. and Sun
* Microsystems, Inc. All Rights Reserved.
*/
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif #endif
#include "massink.h" #include "massink.h"
#define BUFFER_SIZE 640 #define BUFFER_SIZE 640
#define BUFFER_TIME_NS 3628118
#define FORCED_STABLE_LOOPS 10
#define NANOSLEEP_GRANULARITY 100000
/* elementfactory information */ /* elementfactory information */
@ -61,7 +66,7 @@ GST_PAD_TEMPLATE_FACTORY (sink_factory,
GST_PAD_ALWAYS, /* ALWAYS/SOMETIMES */ GST_PAD_ALWAYS, /* ALWAYS/SOMETIMES */
GST_CAPS_NEW ( GST_CAPS_NEW (
"massink_sink8", /* the name of the caps */ "massink_sink8", /* the name of the caps */
"audio/x-wav", /* the mime type of the caps */ "audio/x-raw-int",
NULL NULL
) )
); );