mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
82d8ba320f
commit
ff4c8d5107
2 changed files with 9 additions and 1 deletions
|
@ -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),
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue