Fix code indentation

This commit is contained in:
Tim-Philipp Müller 2018-04-22 18:27:37 +01:00
parent 595392d187
commit 79c13988e4
7 changed files with 13 additions and 12 deletions

View file

@ -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, GST_LOG (" - %s: %4d/%02d/%02d %02d:%02d:%09.6lf", property_name,
year, month, day, hour, minute, second); 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 */ /* reuse some code from gst-plugins-base/gst-libs/gst/tag/gstxmptag.c */
gint gmt_offset = -1; gint gmt_offset = -1;
gchar *plus_pos = NULL; gchar *plus_pos = NULL;

View file

@ -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_start (GstAudioDecoder * dec);
static gboolean gst_dtsdec_stop (GstAudioDecoder * dec); static gboolean gst_dtsdec_stop (GstAudioDecoder * dec);
static gboolean gst_dtsdec_set_format (GstAudioDecoder * bdec, GstCaps * caps); static gboolean gst_dtsdec_set_format (GstAudioDecoder * bdec, GstCaps * caps);
static GstFlowReturn gst_dtsdec_parse (GstAudioDecoder * dec, GstAdapter * adapter, static GstFlowReturn gst_dtsdec_parse (GstAudioDecoder * dec,
gint * offset, gint * length); GstAdapter * adapter, gint * offset, gint * length);
static GstFlowReturn gst_dtsdec_handle_frame (GstAudioDecoder * dec, static GstFlowReturn gst_dtsdec_handle_frame (GstAudioDecoder * dec,
GstBuffer * buffer); GstBuffer * buffer);

View file

@ -93,8 +93,8 @@ static void gst_faad_reset (GstFaad * faad);
static gboolean gst_faad_start (GstAudioDecoder * dec); static gboolean gst_faad_start (GstAudioDecoder * dec);
static gboolean gst_faad_stop (GstAudioDecoder * dec); static gboolean gst_faad_stop (GstAudioDecoder * dec);
static gboolean gst_faad_set_format (GstAudioDecoder * dec, GstCaps * caps); static gboolean gst_faad_set_format (GstAudioDecoder * dec, GstCaps * caps);
static GstFlowReturn gst_faad_parse (GstAudioDecoder * dec, GstAdapter * adapter, static GstFlowReturn gst_faad_parse (GstAudioDecoder * dec,
gint * offset, gint * length); GstAdapter * adapter, gint * offset, gint * length);
static GstFlowReturn gst_faad_handle_frame (GstAudioDecoder * dec, static GstFlowReturn gst_faad_handle_frame (GstAudioDecoder * dec,
GstBuffer * buffer); GstBuffer * buffer);
static void gst_faad_flush (GstAudioDecoder * dec, gboolean hard); static void gst_faad_flush (GstAudioDecoder * dec, gboolean hard);

View file

@ -1176,7 +1176,8 @@ error_get_result:
} }
gboolean 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); GstKsVideoDevicePrivate *priv = GST_KS_VIDEO_DEVICE_GET_PRIVATE (self);
GstBuffer *buf = *bufptr; GstBuffer *buf = *bufptr;

View file

@ -168,7 +168,7 @@ gst_dx9screencapsrc_init (GstDX9ScreenCapSrc * src)
src->monitor = 0; src->monitor = 0;
src->show_cursor = FALSE; 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_format (GST_BASE_SRC (src), GST_FORMAT_TIME);
gst_base_src_set_live (GST_BASE_SRC (src), TRUE); gst_base_src_set_live (GST_BASE_SRC (src), TRUE);