mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
source: reset more
This commit is contained in:
parent
1d02496d15
commit
0c9c1434a8
1 changed files with 7 additions and 1 deletions
|
@ -228,7 +228,13 @@ rtp_source_reset (RTPSource * src)
|
||||||
src->stats.jitter = 0;
|
src->stats.jitter = 0;
|
||||||
src->stats.transit = -1;
|
src->stats.transit = -1;
|
||||||
src->stats.curr_sr = 0;
|
src->stats.curr_sr = 0;
|
||||||
|
src->stats.sr[0].is_valid = FALSE;
|
||||||
src->stats.curr_rr = 0;
|
src->stats.curr_rr = 0;
|
||||||
|
src->stats.rr[0].is_valid = FALSE;
|
||||||
|
src->stats.prev_rtptime = GST_CLOCK_TIME_NONE;
|
||||||
|
src->stats.prev_rtcptime = GST_CLOCK_TIME_NONE;
|
||||||
|
src->stats.last_rtptime = GST_CLOCK_TIME_NONE;
|
||||||
|
src->stats.last_rtcptime = GST_CLOCK_TIME_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -429,7 +435,7 @@ sdes_struct_compare_func (GQuark field_id, const GValue * value,
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* rtp_source_set_sdes:
|
* rtp_source_set_sdes_struct:
|
||||||
* @src: an #RTPSource
|
* @src: an #RTPSource
|
||||||
* @sdes: the SDES structure
|
* @sdes: the SDES structure
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue