mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
Applied gst-indent
This commit is contained in:
parent
28215b9e12
commit
ae32818105
1 changed files with 7 additions and 11 deletions
|
@ -1206,12 +1206,10 @@ gst_dash_demux_get_video_input_caps (GstDashDemux * demux,
|
||||||
if (RepresentationBase == NULL)
|
if (RepresentationBase == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
width =
|
width = gst_mpd_client_get_width_of_video_current_stream (RepresentationBase);
|
||||||
gst_mpd_client_get_width_of_video_current_stream (RepresentationBase);
|
|
||||||
height =
|
height =
|
||||||
gst_mpd_client_get_height_of_video_current_stream (RepresentationBase);
|
gst_mpd_client_get_height_of_video_current_stream (RepresentationBase);
|
||||||
mimeType =
|
mimeType = gst_mpd_mimetype_to_caps (RepresentationBase->mimeType);
|
||||||
gst_mpd_mimetype_to_caps (RepresentationBase->mimeType);
|
|
||||||
caps =
|
caps =
|
||||||
gst_caps_new_simple (mimeType, "width", G_TYPE_INT, width, "height",
|
gst_caps_new_simple (mimeType, "width", G_TYPE_INT, width, "height",
|
||||||
G_TYPE_INT, height, NULL);
|
G_TYPE_INT, height, NULL);
|
||||||
|
@ -1238,11 +1236,10 @@ gst_dash_demux_get_audio_input_caps (GstDashDemux * demux,
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
channels =
|
channels =
|
||||||
gst_mpd_client_get_num_channels_of_audio_current_stream (RepresentationBase);
|
gst_mpd_client_get_num_channels_of_audio_current_stream
|
||||||
rate =
|
(RepresentationBase);
|
||||||
gst_mpd_client_get_rate_of_audio_current_stream (RepresentationBase);
|
rate = gst_mpd_client_get_rate_of_audio_current_stream (RepresentationBase);
|
||||||
mimeType =
|
mimeType = gst_mpd_mimetype_to_caps (RepresentationBase->mimeType);
|
||||||
gst_mpd_mimetype_to_caps (RepresentationBase->mimeType);
|
|
||||||
caps =
|
caps =
|
||||||
gst_caps_new_simple (mimeType, "channels", G_TYPE_INT, channels, "rate",
|
gst_caps_new_simple (mimeType, "channels", G_TYPE_INT, channels, "rate",
|
||||||
G_TYPE_INT, rate, NULL);
|
G_TYPE_INT, rate, NULL);
|
||||||
|
@ -1267,8 +1264,7 @@ gst_dash_demux_get_application_input_caps (GstDashDemux * demux,
|
||||||
if (RepresentationBase == NULL)
|
if (RepresentationBase == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
mimeType =
|
mimeType = gst_mpd_mimetype_to_caps (RepresentationBase->mimeType);
|
||||||
gst_mpd_mimetype_to_caps (RepresentationBase->mimeType);
|
|
||||||
caps = gst_caps_new_simple (mimeType, NULL);
|
caps = gst_caps_new_simple (mimeType, NULL);
|
||||||
return caps;
|
return caps;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue