decklink: Fix indention once again

This commit is contained in:
Sebastian Dröge 2015-01-08 12:13:03 +01:00
parent 81c1ef190d
commit 478deb4805
2 changed files with 6 additions and 6 deletions

View file

@ -410,7 +410,7 @@ gst_decklink_audio_src_create (GstPushSrc * bsrc, GstBuffer ** buffer)
else
start_offset = 0;
if (self->next_offset == (guint64) -1) {
if (self->next_offset == (guint64) - 1) {
discont = TRUE;
} else {
guint64 diff, max_sample_diff;
@ -445,7 +445,7 @@ gst_decklink_audio_src_create (GstPushSrc * bsrc, GstBuffer ** buffer)
if (discont) {
// Have discont, need resync and use the capture timestamps
if (self->next_offset != (guint64) -1)
if (self->next_offset != (guint64) - 1)
GST_INFO_OBJECT (self, "Have discont. Expected %"
G_GUINT64_FORMAT ", got %" G_GUINT64_FORMAT,
self->next_offset, start_offset);

View file

@ -362,8 +362,7 @@ gst_decklink_video_src_query (GstBaseSrc * bsrc, GstQuery * query)
mode = gst_decklink_get_mode (self->mode);
min =
gst_util_uint64_scale_ceil (GST_SECOND, mode->fps_d, mode->fps_n);
min = gst_util_uint64_scale_ceil (GST_SECOND, mode->fps_d, mode->fps_n);
max = self->buffer_size * min;
gst_query_set_latency (query, TRUE, min, max);
@ -428,7 +427,7 @@ gst_decklink_video_src_open (GstDecklinkVideoSrc * self)
if (self->input->config) {
ret = self->input->config->SetInt (bmdDeckLinkConfigVideoInputConnection,
gst_decklink_get_connection(self->connection));
gst_decklink_get_connection (self->connection));
if (ret != S_OK) {
GST_ERROR_OBJECT (self, "Failed to set configuration (input source)");
return FALSE;
@ -438,7 +437,8 @@ gst_decklink_video_src_open (GstDecklinkVideoSrc * self)
ret = self->input->config->SetInt (bmdDeckLinkConfigAnalogVideoInputFlags,
bmdAnalogVideoFlagCompositeSetup75);
if (ret != S_OK) {
GST_ERROR_OBJECT (self, "Failed to set configuration (composite setup)");
GST_ERROR_OBJECT (self,
"Failed to set configuration (composite setup)");
return FALSE;
}
}