Commit 69abe94e authored by Chin-Kai Wu's avatar Chin-Kai Wu

Refine indent according to coding style Refine indent

parent d3b5a37d
...@@ -839,7 +839,8 @@ dlna_src_handle_query_seeking (GstDlnaSrc * dlna_src, GstQuery * query) ...@@ -839,7 +839,8 @@ dlna_src_handle_query_seeking (GstDlnaSrc * dlna_src, GstQuery * query)
GST_INFO_OBJECT (dlna_src, GST_INFO_OBJECT (dlna_src,
"Seeking in bytes not available for content item"); "Seeking in bytes not available for content item");
gst_query_set_seeking (query, GST_FORMAT_BYTES, FALSE, seek_start, seek_end); gst_query_set_seeking (query, GST_FORMAT_BYTES, FALSE, seek_start,
seek_end);
ret = TRUE; ret = TRUE;
} }
} else if (format == GST_FORMAT_TIME) { } else if (format == GST_FORMAT_TIME) {
...@@ -858,7 +859,8 @@ dlna_src_handle_query_seeking (GstDlnaSrc * dlna_src, GstQuery * query) ...@@ -858,7 +859,8 @@ dlna_src_handle_query_seeking (GstDlnaSrc * dlna_src, GstQuery * query)
GST_DEBUG_OBJECT (dlna_src, GST_DEBUG_OBJECT (dlna_src,
"Seeking in media time not available for content item"); "Seeking in media time not available for content item");
gst_query_set_seeking (query, GST_FORMAT_TIME, FALSE, seek_start, seek_end); gst_query_set_seeking (query, GST_FORMAT_TIME, FALSE, seek_start,
seek_end);
ret = TRUE; ret = TRUE;
} }
} else { } else {
...@@ -2962,9 +2964,8 @@ dlna_src_head_response_parse_playspeeds (GstDlnaSrc * dlna_src, ...@@ -2962,9 +2964,8 @@ dlna_src_head_response_parse_playspeeds (GstDlnaSrc * dlna_src,
"Problems converting playspeed %s into numeric value", *ptr); "Problems converting playspeed %s into numeric value", *ptr);
return FALSE; return FALSE;
} else { } else {
head_response->content_features-> head_response->content_features->playspeeds[head_response->
playspeeds[head_response->content_features->playspeeds_cnt] = content_features->playspeeds_cnt] = rate;
rate;
} }
} else { } else {
/* Handle conversion of fractional string into float, needed when specifying rate */ /* Handle conversion of fractional string into float, needed when specifying rate */
...@@ -2976,13 +2977,13 @@ dlna_src_head_response_parse_playspeeds (GstDlnaSrc * dlna_src, ...@@ -2976,13 +2977,13 @@ dlna_src_head_response_parse_playspeeds (GstDlnaSrc * dlna_src,
} else { } else {
rate = (gfloat) n / (gfloat) d; rate = (gfloat) n / (gfloat) d;
head_response->content_features-> head_response->content_features->playspeeds[head_response->
playspeeds[head_response->content_features->playspeeds_cnt] = content_features->playspeeds_cnt] = rate;
rate;
} }
} }
head_response->content_features->playspeeds_cnt++; head_response->content_features->playspeeds_cnt++;
if (head_response->content_features->playspeeds_cnt >= PLAYSPEEDS_MAX_CNT) if (head_response->content_features->playspeeds_cnt >=
PLAYSPEEDS_MAX_CNT)
continue; continue;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment