summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid I. Lehn <dlehn@users.sourceforge.net>2002-12-17 05:57:00 +0000
committerDavid I. Lehn <dlehn@users.sourceforge.net>2002-12-17 05:57:00 +0000
commit9010198627a374f7c515fd4383943ce175309c74 (patch)
tree3b9416f63df41b82c539c3ec8b6db8e619feec36
parenta50b19e9216dbbf9c76569bdde171f550d476db8 (diff)
build fix: declare variable at start of block
Original commit message from CVS: build fix: declare variable at start of block
-rw-r--r--gst/udp/gstudpsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c
index abb4f85c..950aa0d2 100644
--- a/gst/udp/gstudpsrc.c
+++ b/gst/udp/gstudpsrc.c
@@ -233,11 +233,11 @@ gst_udpsrc_get (GstPad *pad)
if (udpsrc->first_buf) {
if (udpsrc->clock) {
GstClockTime current_time;
+ GstEvent *discont;
current_time = gst_clock_get_time (udpsrc->clock);
GST_BUFFER_TIMESTAMP (outbuf) = current_time;
- GstEvent *discont;
discont = gst_event_new_discontinuous (FALSE, GST_FORMAT_TIME,
current_time, NULL);