mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
rtpmux: use GST_*_OBJECT instead of g_*
20070314102058-65035-e2442888f2e3e5a3a7659ad7954a4fba34749ce2.gz
This commit is contained in:
parent
b0208cb0a6
commit
fd209faa56
1 changed files with 4 additions and 4 deletions
|
@ -232,15 +232,15 @@ gst_rtp_mux_request_new_pad (GstElement * element,
|
||||||
|
|
||||||
g_return_val_if_fail (templ != NULL, NULL);
|
g_return_val_if_fail (templ != NULL, NULL);
|
||||||
|
|
||||||
|
rtp_mux = GST_RTP_MUX (element);
|
||||||
|
|
||||||
if (templ->direction != GST_PAD_SINK) {
|
if (templ->direction != GST_PAD_SINK) {
|
||||||
g_warning ("rtp_mux: request pad that is not a SINK pad\n");
|
GST_WARNING_OBJECT (rtp_mux, "request pad that is not a SINK pad");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_return_val_if_fail (GST_IS_RTP_MUX (element), NULL);
|
g_return_val_if_fail (GST_IS_RTP_MUX (element), NULL);
|
||||||
|
|
||||||
rtp_mux = GST_RTP_MUX (element);
|
|
||||||
|
|
||||||
if (templ == gst_element_class_get_pad_template (klass, "sink_%d")) {
|
if (templ == gst_element_class_get_pad_template (klass, "sink_%d")) {
|
||||||
gchar *name;
|
gchar *name;
|
||||||
|
|
||||||
|
@ -251,7 +251,7 @@ gst_rtp_mux_request_new_pad (GstElement * element,
|
||||||
|
|
||||||
rtp_mux->numpads++;
|
rtp_mux->numpads++;
|
||||||
} else {
|
} else {
|
||||||
g_warning ("rtp_mux: this is not our template!\n");
|
GST_WARNING_OBJECT (rtp_mux, "this is not our template!\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue