mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
[MOVED FROM GST-P-FARSIGHT] Sync jitterbuffer with CVS -bad
20070823212225-2425b-0fe69bf72539678dda45d615a09f1cbf502cc71a.gz
This commit is contained in:
parent
03aa705cb3
commit
2f4758bb95
1 changed files with 2 additions and 2 deletions
|
@ -410,12 +410,12 @@ gst_rtp_mux_setcaps (GstPad *pad, GstCaps *caps)
|
||||||
gint clock_rate;
|
gint clock_rate;
|
||||||
|
|
||||||
rtp_mux = GST_RTP_MUX (gst_pad_get_parent (pad));
|
rtp_mux = GST_RTP_MUX (gst_pad_get_parent (pad));
|
||||||
|
|
||||||
structure = gst_caps_get_structure (caps, 0);
|
structure = gst_caps_get_structure (caps, 0);
|
||||||
if (gst_structure_get_int (structure, "clock-rate", &clock_rate)) {
|
if (gst_structure_get_int (structure, "clock-rate", &clock_rate)) {
|
||||||
ret = gst_rtp_mux_set_clock_rate (rtp_mux, clock_rate);
|
ret = gst_rtp_mux_set_clock_rate (rtp_mux, clock_rate);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
GST_DEBUG_OBJECT (rtp_mux,
|
GST_DEBUG_OBJECT (rtp_mux,
|
||||||
"seting caps %" GST_PTR_FORMAT " on src pad..", caps);
|
"seting caps %" GST_PTR_FORMAT " on src pad..", caps);
|
||||||
|
|
Loading…
Reference in a new issue