mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
ext/mad/: RPAD_ -> PAD
Original commit message from CVS: * ext/mad/gstid3tag.c: (gst_id3_tag_src_link): * ext/mad/gstmad.c: (gst_mad_chain): RPAD_ -> PAD Fix args in bufferalloc function call. Makes the mad plugin compile again
This commit is contained in:
parent
6482bb020b
commit
f14938b97f
3 changed files with 14 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
2005-06-27 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* ext/mad/gstid3tag.c: (gst_id3_tag_src_link):
|
||||
* ext/mad/gstmad.c: (gst_mad_chain):
|
||||
RPAD_ -> PAD
|
||||
Fix args in bufferalloc function call.
|
||||
Makes the mad plugin compile again
|
||||
|
||||
2005-06-27 Owen Fraser-Green <owen@discobabe.net>
|
||||
|
||||
* gst/realmedia/rmdemux.c: Rewrote to use gstadapter. Also parses
|
||||
|
|
|
@ -1008,7 +1008,7 @@ gst_id3_tag_src_link (GstPad * pad, GstPad * peer)
|
|||
}
|
||||
#endif
|
||||
if (GST_RPAD_LINKFUNC (peer))
|
||||
return GST_RPAD_LINKFUNC (peer) (peer, pad);
|
||||
return GST_PAD_LINKFUNC (peer) (peer, pad);
|
||||
else
|
||||
return GST_PAD_LINK_OK;
|
||||
}
|
||||
|
|
|
@ -1523,9 +1523,12 @@ gst_mad_chain (GstPad * pad, GstBuffer * buffer)
|
|||
right_ch = mad->synth.pcm.samples[1];
|
||||
|
||||
/* will attach the caps to the buffer */
|
||||
outbuffer =
|
||||
result =
|
||||
gst_pad_alloc_buffer (mad->srcpad, 0, nsamples * mad->channels * 2,
|
||||
GST_PAD_CAPS (mad->srcpad));
|
||||
GST_PAD_CAPS (mad->srcpad), &outbuffer);
|
||||
if (result != GST_FLOW_OK)
|
||||
goto end;
|
||||
|
||||
outdata = (gint16 *) GST_BUFFER_DATA (outbuffer);
|
||||
|
||||
GST_BUFFER_TIMESTAMP (outbuffer) = time_offset;
|
||||
|
|
Loading…
Reference in a new issue