mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
+ changes for new float caps without slope/intercept + some category changes for plugins
Original commit message from CVS: + changes for new float caps without slope/intercept + some category changes for plugins
This commit is contained in:
parent
0894ba5603
commit
8c0b28395b
1 changed files with 5 additions and 6 deletions
|
@ -65,12 +65,11 @@ raw_caps2_factory (void)
|
|||
"vorbis_raw_float",
|
||||
"audio/x-raw-float",
|
||||
gst_props_new (
|
||||
"depth", GST_PROPS_INT (32),
|
||||
"width", GST_PROPS_INT (32),
|
||||
"endianness", GST_PROPS_INT (G_BYTE_ORDER),
|
||||
"slope", GST_PROPS_FLOAT (1.),
|
||||
"intercept", GST_PROPS_FLOAT (0.),
|
||||
"rate", GST_PROPS_INT_RANGE (11025, 48000),
|
||||
"channels", GST_PROPS_INT (2),
|
||||
"channels", GST_PROPS_INT_RANGE (1, 2),
|
||||
"buffer-frames", GST_PROPS_INT_RANGE (1, G_MAXINT),
|
||||
NULL));
|
||||
}
|
||||
|
||||
|
@ -81,8 +80,8 @@ static GstTypeDefinition vorbisdefinition = {
|
|||
vorbis_type_find,
|
||||
};
|
||||
|
||||
static GstCaps*
|
||||
vorbis_type_find (GstBuffer *buf, gpointer private)
|
||||
static GstCaps*
|
||||
vorbis_type_find (GstBuffer *buf, gpointer private)
|
||||
{
|
||||
guint32 head;
|
||||
gint offset;
|
||||
|
|
Loading…
Reference in a new issue