summaryrefslogtreecommitdiffstats
path: root/ext/esd
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-01-30 12:52:12 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-01-30 12:52:12 +0000
commitff4c8d5107e5c85f60cad2fa19313348cfe20bcc (patch)
tree5f6751d6ae2f8caacd7667093bc3d93a5179aa92 /ext/esd
parent82d8ba320fe6ff95c8f4b878170b1f676fba252e (diff)
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 <rbultje@ronald.bitfreak.net> * 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.
Diffstat (limited to 'ext/esd')
-rw-r--r--ext/esd/esdsink.c4
1 files changed, 3 insertions, 1 deletions
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;