mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
gst/audioconvert/gstaudioconvert.c (gst_audio_convert_link): For float, "any" caps -> buffer_frames=[0,MAX].
Original commit message from CVS: 2004-07-11 Andy Wingo <wingo@pobox.com> * gst/audioconvert/gstaudioconvert.c (gst_audio_convert_link): For float, "any" caps -> buffer_frames=[0,MAX]. * gst/interleave/interleave.c (interleave_getcaps): Seems the core doesn't intersect our caps with the template any more. Do it ourselves. (interleave_buffered_loop): Use g_newa instead of malloc/free.
This commit is contained in:
parent
0d095ed5ef
commit
b028fc77a7
2 changed files with 12 additions and 1 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2004-07-11 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/audioconvert/gstaudioconvert.c (gst_audio_convert_link): For
|
||||
float, "any" caps -> buffer_frames=[0,MAX].
|
||||
|
||||
* gst/interleave/interleave.c (interleave_getcaps): Seems the core
|
||||
doesn't intersect our caps with the template any more. Do it
|
||||
ourselves.
|
||||
(interleave_buffered_loop): Use g_newa instead of malloc/free.
|
||||
|
||||
2004-07-09 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* examples/seeking/seek.c: (iterate):
|
||||
|
|
|
@ -403,7 +403,8 @@ gst_audio_convert_link (GstPad * pad, const GstCaps * caps)
|
|||
gst_structure_set (structure, "buffer-frames", G_TYPE_INT,
|
||||
ac_caps.buffer_frames, NULL);
|
||||
} else {
|
||||
gst_structure_set (structure, "buffer-frames", G_TYPE_INT, 0, NULL);
|
||||
gst_structure_set (structure, "buffer-frames", GST_TYPE_INT_RANGE, 0,
|
||||
G_MAXINT, NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue