mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gst/speed/gstspeed.c: Fix caps parsing. (bug #140064)
Original commit message from CVS: * gst/speed/gstspeed.c: (speed_parse_caps): Fix caps parsing. (bug #140064)
This commit is contained in:
parent
ac9af3a3d7
commit
ee9e8618ff
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-04-28 David Schleef <ds@schleef.org>
|
||||
|
||||
* gst/speed/gstspeed.c: (speed_parse_caps): Fix caps parsing.
|
||||
(bug #140064)
|
||||
|
||||
2004-04-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/alsa/gstalsa.c: (gst_alsa_class_probe_devices):
|
||||
|
|
|
@ -121,9 +121,9 @@ speed_parse_caps (GstSpeed * filter, const GstCaps * caps)
|
|||
ret &= gst_structure_get_int (structure, "channels", &filter->channels);
|
||||
ret &= gst_structure_get_int (structure, "width", &filter->width);
|
||||
ret &= gst_structure_get_int (structure, "endianness", &filter->endianness);
|
||||
ret &=
|
||||
gst_structure_get_int (structure, "buffer-frames",
|
||||
&filter->buffer_frames);
|
||||
|
||||
filter->buffer_frames = 0;
|
||||
gst_structure_get_int (structure, "buffer-frames", &filter->buffer_frames);
|
||||
|
||||
mimetype = gst_structure_get_name (structure);
|
||||
|
||||
|
|
Loading…
Reference in a new issue