From 41e9c150f6071071a0d97306956836238e76cbf7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 7 Mar 2008 15:54:09 +0000 Subject: [PATCH] gst/udp/gstudpsrc.c: Fix compilation after removing the GstPollMode from the constructor. Original commit message from CVS: * gst/udp/gstudpsrc.c: (gst_udpsrc_start): Fix compilation after removing the GstPollMode from the constructor. --- ChangeLog | 6 ++++++ gst/udp/gstudpsrc.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bf2fe6d..dc25136 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-07 Wim Taymans + + * gst/udp/gstudpsrc.c: (gst_udpsrc_start): + Fix compilation after removing the GstPollMode from the + constructor. + 2008-03-07 Sebastian Dröge * configure.ac: diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index cbf120d..5327768 100644 --- a/gst/udp/gstudpsrc.c +++ b/gst/udp/gstudpsrc.c @@ -761,7 +761,7 @@ gst_udpsrc_start (GstBaseSrc * bsrc) src->myaddr.sin_port = htons (src->port + 1); - if ((src->fdset = gst_poll_new (GST_POLL_MODE_AUTO, TRUE)) == NULL) + if ((src->fdset = gst_poll_new (TRUE)) == NULL) goto no_fdset; gst_poll_add_fd (src->fdset, &src->sock); -- 2.7.4