diff options
author | zeeshan.ali@nokia.com <zeeshan.ali@nokia.com> | 2007-03-14 10:20:58 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-21 17:48:50 +0100 |
commit | eebdce6650a3e2d6ea901b55742b501ad8f8fe7e (patch) | |
tree | cdae9796f43063e26ff2c2126bc5351d4c32e64a /gst/rtpmux | |
parent | 207a222c0cb86a21587236689268b23282eeeb0f (diff) | |
download | gst-plugins-bad-eebdce6650a3e2d6ea901b55742b501ad8f8fe7e.tar.gz gst-plugins-bad-eebdce6650a3e2d6ea901b55742b501ad8f8fe7e.tar.bz2 gst-plugins-bad-eebdce6650a3e2d6ea901b55742b501ad8f8fe7e.zip |
[MOVED FROM GST-P-FARSIGHT] use GST_*_OBJECT instead of g_*
20070314102058-65035-e2442888f2e3e5a3a7659ad7954a4fba34749ce2.gz
Diffstat (limited to 'gst/rtpmux')
-rw-r--r-- | gst/rtpmux/gstrtpmux.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c index fc1ed998..dcb523b0 100644 --- a/gst/rtpmux/gstrtpmux.c +++ b/gst/rtpmux/gstrtpmux.c @@ -232,15 +232,15 @@ gst_rtp_mux_request_new_pad (GstElement * element, g_return_val_if_fail (templ != NULL, NULL); + rtp_mux = GST_RTP_MUX (element); + 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; } 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")) { gchar *name; @@ -251,7 +251,7 @@ gst_rtp_mux_request_new_pad (GstElement * element, rtp_mux->numpads++; } else { - g_warning ("rtp_mux: this is not our template!\n"); + GST_WARNING_OBJECT (rtp_mux, "this is not our template!\n"); return NULL; } |