Modified passthrough, adder, playondemand, float2int, int2float, and ladspa to work with the new caps nego changes.
Original commit message from CVS: Modified passthrough, adder, playondemand, float2int, int2float, and ladspa to work with the new caps nego changes. Updated adder to work with float data, now uses bytestreams. Updated ladspa to work in any M sinkpads by N srcpads configuration, M > -1 and N > 0. Also updated ladspa to work as a loop-based element using bytestreams for MxN configurations other than M == N == 1 or M == 0.
This commit is contained in:
parent
02b0cdae12
commit
44d4269dc8
@ -167,10 +167,8 @@ gst_afsrc_class_init (GstAFSrcClass *klass)
|
||||
static void
|
||||
gst_afsrc_init (GstAFSrc *afsrc)
|
||||
{
|
||||
// GstPad *pad; this is now done in the struct
|
||||
|
||||
/* no need for a template, caps are set based on file, right ? */
|
||||
afsrc->srcpad = gst_pad_new ("src", GST_PAD_SRC);
|
||||
afsrc->srcpad = gst_pad_new_from_template (afsrc_src_factory (), "src");
|
||||
gst_element_add_pad (GST_ELEMENT (afsrc), afsrc->srcpad);
|
||||
gst_pad_set_get_function (afsrc->srcpad, gst_afsrc_get);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user