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.
This commit is contained in:
Ronald S. Bultje 2004-01-30 12:52:12 +00:00
parent 82d8ba320f
commit ff4c8d5107
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
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.
2004-01-30 Ronald Bultje <rbultje@ronald.bitfreak.net> 2004-01-30 Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head), * gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head),

View file

@ -170,7 +170,9 @@ gst_esdsink_init(GTypeInstance *instance, gpointer g_class)
esdsink->mute = FALSE; esdsink->mute = FALSE;
esdsink->fd = -1; esdsink->fd = -1;
/* FIXME: get default from somewhere better than just putting them inline. */ /* 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->format = 16;
esdsink->depth = 16; esdsink->depth = 16;
esdsink->channels = 2; esdsink->channels = 2;