From ff4c8d5107e5c85f60cad2fa19313348cfe20bcc Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 30 Jan 2004 12:52:12 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ ext/esd/esdsink.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e7a70e38ca..1a4ad7c3a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. + 2004-01-30 Ronald Bultje * gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head), diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index c07021409a..e887a165d4 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;