mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
[MOVED FROM GST-P-FARSIGHT] Set caps on the buffer before pushing it
20070323162922-65035-9e4be5449c79c0a459965ee07adb4a8143c4c1d5.gz
This commit is contained in:
parent
19e3f39751
commit
ffe20dee18
1 changed files with 2 additions and 0 deletions
|
@ -608,6 +608,8 @@ gst_rtp_dtmf_src_push_next_rtp_packet (GstRTPDTMFSrc *dtmfsrc)
|
|||
GST_ERROR_OBJECT (dtmfsrc, "No clock set for element %s", GST_ELEMENT_NAME (dtmfsrc));
|
||||
}
|
||||
|
||||
/* Set caps on the buffer before pushing it */
|
||||
gst_buffer_set_caps (buf, GST_PAD_CAPS (dtmfsrc->srcpad));
|
||||
GST_DEBUG_OBJECT (dtmfsrc,
|
||||
"pushing buffer on src pad of size %d", GST_BUFFER_SIZE (buf));
|
||||
ret = gst_pad_push (dtmfsrc->srcpad, buf);
|
||||
|
|
Loading…
Reference in a new issue