decklink: Fix indentation

This commit is contained in:
Sebastian Dröge 2017-01-27 19:24:03 +02:00
parent 861cb49895
commit 4cdd234add
3 changed files with 11 additions and 12 deletions

View file

@ -42,8 +42,8 @@
#define FREE_COM_STRING(s) delete[] s; #define FREE_COM_STRING(s) delete[] s;
#define CONVERT_COM_STRING(s) BSTR _s = (BSTR)s; s = _com_util::ConvertBSTRToString(_s); ::SysFreeString(_s); #define CONVERT_COM_STRING(s) BSTR _s = (BSTR)s; s = _com_util::ConvertBSTRToString(_s); ::SysFreeString(_s);
#else #else
#define COMSTR_T char* #define COMSTR_T const char*
#define FREE_COM_STRING(s) free ((void *) s) #define FREE_COM_STRING(s)
#define CONVERT_COM_STRING(s) #define CONVERT_COM_STRING(s)
#endif /* _MSC_VER */ #endif /* _MSC_VER */

View file

@ -601,8 +601,7 @@ static void
gst_decklink_video_src_got_frame (GstElement * element, gst_decklink_video_src_got_frame (GstElement * element,
IDeckLinkVideoInputFrame * frame, GstDecklinkModeEnum mode, IDeckLinkVideoInputFrame * frame, GstDecklinkModeEnum mode,
GstClockTime capture_time, GstClockTime stream_time, GstClockTime capture_time, GstClockTime stream_time,
GstClockTime stream_duration, IDeckLinkTimecode *dtc, GstClockTime stream_duration, IDeckLinkTimecode * dtc, gboolean no_signal)
gboolean no_signal)
{ {
GstDecklinkVideoSrc *self = GST_DECKLINK_VIDEO_SRC_CAST (element); GstDecklinkVideoSrc *self = GST_DECKLINK_VIDEO_SRC_CAST (element);
GstClockTime timestamp, duration; GstClockTime timestamp, duration;
@ -696,8 +695,8 @@ gst_decklink_video_src_got_frame (GstElement * element,
(GstVideoTimeCodeFlags) (flags | (GstVideoTimeCodeFlags) (flags |
GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME); GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME);
f->tc = f->tc =
gst_video_time_code_new (bmode->fps_n, bmode->fps_d, NULL, flags, hours, gst_video_time_code_new (bmode->fps_n, bmode->fps_d, NULL, flags,
minutes, seconds, frames, field_count); hours, minutes, seconds, frames, field_count);
} }
dtc->Release (); dtc->Release ();
} else { } else {