From ff4c8d5107e5c85f60cad2fa19313348cfe20bcc Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 30 Jan 2004 12:52:12 +0000 Subject: ext/esd/esdsink.c: Since we have static pad template caps, we don't need to negotiate; either the core errors out or ... Original commit message from CVS: 2004-01-30 Ronald Bultje * ext/esd/esdsink.c: (gst_esdsink_init): Since we have static pad template caps, we don't need to negotiate; either the core errors out or we know the format. --- ext/esd/esdsink.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext/esd') diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index c0702140..e887a165 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -170,7 +170,9 @@ gst_esdsink_init(GTypeInstance *instance, gpointer g_class) esdsink->mute = FALSE; esdsink->fd = -1; /* FIXME: get default from somewhere better than just putting them inline. */ - esdsink->negotiated = FALSE; + /*esdsink->negotiated = FALSE;*/ + /* we have static caps on our template, so it always is negotiated */ + esdsink->negotiated = TRUE; esdsink->format = 16; esdsink->depth = 16; esdsink->channels = 2; -- cgit