mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
Fix code indentation
This commit is contained in:
parent
595392d187
commit
79c13988e4
7 changed files with 13 additions and 12 deletions
|
@ -904,7 +904,7 @@ gst_mpdparser_get_xml_prop_dateTime (xmlNode * a_node,
|
|||
GST_LOG (" - %s: %4d/%02d/%02d %02d:%02d:%09.6lf", property_name,
|
||||
year, month, day, hour, minute, second);
|
||||
|
||||
if (strrchr (str, '+') || strrchr (str, '-')){
|
||||
if (strrchr (str, '+') || strrchr (str, '-')) {
|
||||
/* reuse some code from gst-plugins-base/gst-libs/gst/tag/gstxmptag.c */
|
||||
gint gmt_offset = -1;
|
||||
gchar *plus_pos = NULL;
|
||||
|
|
|
@ -131,8 +131,8 @@ G_DEFINE_TYPE (GstDtsDec, gst_dtsdec, GST_TYPE_AUDIO_DECODER);
|
|||
static gboolean gst_dtsdec_start (GstAudioDecoder * dec);
|
||||
static gboolean gst_dtsdec_stop (GstAudioDecoder * dec);
|
||||
static gboolean gst_dtsdec_set_format (GstAudioDecoder * bdec, GstCaps * caps);
|
||||
static GstFlowReturn gst_dtsdec_parse (GstAudioDecoder * dec, GstAdapter * adapter,
|
||||
gint * offset, gint * length);
|
||||
static GstFlowReturn gst_dtsdec_parse (GstAudioDecoder * dec,
|
||||
GstAdapter * adapter, gint * offset, gint * length);
|
||||
static GstFlowReturn gst_dtsdec_handle_frame (GstAudioDecoder * dec,
|
||||
GstBuffer * buffer);
|
||||
|
||||
|
|
|
@ -93,8 +93,8 @@ static void gst_faad_reset (GstFaad * faad);
|
|||
static gboolean gst_faad_start (GstAudioDecoder * dec);
|
||||
static gboolean gst_faad_stop (GstAudioDecoder * dec);
|
||||
static gboolean gst_faad_set_format (GstAudioDecoder * dec, GstCaps * caps);
|
||||
static GstFlowReturn gst_faad_parse (GstAudioDecoder * dec, GstAdapter * adapter,
|
||||
gint * offset, gint * length);
|
||||
static GstFlowReturn gst_faad_parse (GstAudioDecoder * dec,
|
||||
GstAdapter * adapter, gint * offset, gint * length);
|
||||
static GstFlowReturn gst_faad_handle_frame (GstAudioDecoder * dec,
|
||||
GstBuffer * buffer);
|
||||
static void gst_faad_flush (GstAudioDecoder * dec, gboolean hard);
|
||||
|
|
|
@ -181,7 +181,7 @@ freeverb_allpass_init (freeverb_allpass * allpass)
|
|||
gfloat *buf = allpass->buffer;
|
||||
|
||||
for (i = 0; i < len; i++) {
|
||||
buf[i] = (gfloat) DC_OFFSET; /* this is not 100 % correct. */
|
||||
buf[i] = (gfloat) DC_OFFSET; /* this is not 100 % correct. */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -246,7 +246,7 @@ freeverb_comb_init (freeverb_comb * comb)
|
|||
gfloat *buf = comb->buffer;
|
||||
|
||||
for (i = 0; i < len; i++) {
|
||||
buf[i] = (gfloat) DC_OFFSET; /* This is not 100 % correct. */
|
||||
buf[i] = (gfloat) DC_OFFSET; /* This is not 100 % correct. */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -188,7 +188,7 @@ gst_vtdec_stop (GstVideoDecoder * decoder)
|
|||
{
|
||||
GstVtdec *vtdec = GST_VTDEC (decoder);
|
||||
|
||||
gst_vtdec_push_frames_if_needed (vtdec, TRUE, TRUE);
|
||||
gst_vtdec_push_frames_if_needed (vtdec, TRUE, TRUE);
|
||||
|
||||
if (vtdec->input_state)
|
||||
gst_video_codec_state_unref (vtdec->input_state);
|
||||
|
|
|
@ -1176,7 +1176,8 @@ error_get_result:
|
|||
}
|
||||
|
||||
gboolean
|
||||
gst_ks_video_device_postprocess_frame (GstKsVideoDevice * self, GstBuffer ** bufptr)
|
||||
gst_ks_video_device_postprocess_frame (GstKsVideoDevice * self,
|
||||
GstBuffer ** bufptr)
|
||||
{
|
||||
GstKsVideoDevicePrivate *priv = GST_KS_VIDEO_DEVICE_GET_PRIVATE (self);
|
||||
GstBuffer *buf = *bufptr;
|
||||
|
|
|
@ -168,7 +168,7 @@ gst_dx9screencapsrc_init (GstDX9ScreenCapSrc * src)
|
|||
|
||||
src->monitor = 0;
|
||||
src->show_cursor = FALSE;
|
||||
src->monitor_info.cbSize = sizeof(MONITORINFO);
|
||||
src->monitor_info.cbSize = sizeof (MONITORINFO);
|
||||
|
||||
gst_base_src_set_format (GST_BASE_SRC (src), GST_FORMAT_TIME);
|
||||
gst_base_src_set_live (GST_BASE_SRC (src), TRUE);
|
||||
|
@ -322,7 +322,7 @@ gst_dx9screencapsrc_get_caps (GstBaseSrc * bsrc, GstCaps * filter)
|
|||
|
||||
if (src->monitor >= IDirect3D9_GetAdapterCount (g_d3d9)) {
|
||||
GST_ELEMENT_ERROR (src, RESOURCE, NOT_FOUND,
|
||||
("Specified monitor with index %d not found", src->monitor), (NULL));
|
||||
("Specified monitor with index %d not found", src->monitor), (NULL));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -400,7 +400,7 @@ gst_dx9screencapsrc_start (GstBaseSrc * bsrc)
|
|||
|
||||
if (src->monitor >= IDirect3D9_GetAdapterCount (g_d3d9)) {
|
||||
GST_ELEMENT_ERROR (src, RESOURCE, NOT_FOUND,
|
||||
("Specified monitor with index %d not found", src->monitor), (NULL));
|
||||
("Specified monitor with index %d not found", src->monitor), (NULL));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue