[farsight2/master] Replace 2.16 g_warn_if_fail() with a g_assert()
Olivier Crête
olivier.crete at collabora.co.uk
Tue Jan 6 14:55:15 PST 2009
---
transmitters/nice/fs-nice-transmitter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/transmitters/nice/fs-nice-transmitter.c b/transmitters/nice/fs-nice-transmitter.c
index 4e504ea..8a5b0bb 100644
--- a/transmitters/nice/fs-nice-transmitter.c
+++ b/transmitters/nice/fs-nice-transmitter.c
@@ -798,7 +798,7 @@ fs_nice_transmitter_set_sending (FsNiceTransmitter *self,
ns->requested_tee_pads[c] =
gst_element_get_request_pad (self->priv->sink_tees[c], "src%d");
- g_warn_if_fail (ns->requested_tee_pads[c]);
+ g_assert (ns->requested_tee_pads[c]);
elempad = gst_element_get_static_pad (ns->nicesinks[c], "sink");
ret = gst_pad_link (ns->requested_tee_pads[c], elempad);
--
1.5.6.5
More information about the farsight-commits
mailing list