mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 21:28:45 +00:00
dashdemux: run gst-indent on mpdparser
Run gst-indent on mpdparser to have it stop complaining on every commit
This commit is contained in:
parent
45ae4d7f9c
commit
a862ba4b45
1 changed files with 3 additions and 4 deletions
|
@ -2600,7 +2600,7 @@ gst_mpdparser_build_URL_from_template (const gchar * url_template,
|
||||||
|
|
||||||
guint
|
guint
|
||||||
gst_mpd_client_get_period_index_at_time (GstMpdClient * client,
|
gst_mpd_client_get_period_index_at_time (GstMpdClient * client,
|
||||||
GstDateTime * time)
|
GstDateTime * time)
|
||||||
{
|
{
|
||||||
GList *iter;
|
GList *iter;
|
||||||
guint period_idx = G_MAXUINT;
|
guint period_idx = G_MAXUINT;
|
||||||
|
@ -2619,8 +2619,7 @@ gst_mpd_client_get_period_index_at_time (GstMpdClient * client,
|
||||||
if (time_offset < 0)
|
if (time_offset < 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
for (idx = 0, iter = client->periods; iter;
|
for (idx = 0, iter = client->periods; iter; idx++, iter = g_list_next (iter)) {
|
||||||
idx++, iter = g_list_next (iter)) {
|
|
||||||
stream_period = iter->data;
|
stream_period = iter->data;
|
||||||
if (stream_period->start <= time_offset
|
if (stream_period->start <= time_offset
|
||||||
&& stream_period->start + stream_period->duration > time_offset) {
|
&& stream_period->start + stream_period->duration > time_offset) {
|
||||||
|
@ -3852,7 +3851,7 @@ gst_mpd_client_set_period_id (GstMpdClient * client, const gchar * period_id)
|
||||||
g_return_val_if_fail (period_id != NULL, FALSE);
|
g_return_val_if_fail (period_id != NULL, FALSE);
|
||||||
|
|
||||||
for (period_idx = 0, iter = client->periods; iter;
|
for (period_idx = 0, iter = client->periods; iter;
|
||||||
period_idx++, iter = g_list_next (iter)) {
|
period_idx++, iter = g_list_next (iter)) {
|
||||||
next_stream_period = iter->data;
|
next_stream_period = iter->data;
|
||||||
|
|
||||||
if (next_stream_period->period->id
|
if (next_stream_period->period->id
|
||||||
|
|
Loading…
Reference in a new issue