mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
build fix: declare variable at start of block
Original commit message from CVS: build fix: declare variable at start of block
This commit is contained in:
parent
a50b19e921
commit
9010198627
1 changed files with 1 additions and 1 deletions
|
@ -233,11 +233,11 @@ gst_udpsrc_get (GstPad *pad)
|
||||||
if (udpsrc->first_buf) {
|
if (udpsrc->first_buf) {
|
||||||
if (udpsrc->clock) {
|
if (udpsrc->clock) {
|
||||||
GstClockTime current_time;
|
GstClockTime current_time;
|
||||||
|
GstEvent *discont;
|
||||||
|
|
||||||
current_time = gst_clock_get_time (udpsrc->clock);
|
current_time = gst_clock_get_time (udpsrc->clock);
|
||||||
|
|
||||||
GST_BUFFER_TIMESTAMP (outbuf) = current_time;
|
GST_BUFFER_TIMESTAMP (outbuf) = current_time;
|
||||||
GstEvent *discont;
|
|
||||||
|
|
||||||
discont = gst_event_new_discontinuous (FALSE, GST_FORMAT_TIME,
|
discont = gst_event_new_discontinuous (FALSE, GST_FORMAT_TIME,
|
||||||
current_time, NULL);
|
current_time, NULL);
|
||||||
|
|
Loading…
Reference in a new issue