mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gstvaapivideocontext: fix indentation
gst-indent does not handle correctly some expression like function declaration with attributes, breaking the following expressions. This patch makes gst-indent to ignore the attributed function declartion so the followed function definition is not mangled, such as happened in commit b4154a Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=757598
This commit is contained in:
parent
1e96fae94c
commit
c20318d198
1 changed files with 6 additions and 5 deletions
|
@ -31,16 +31,17 @@ GST_DEBUG_CATEGORY_STATIC (GST_CAT_CONTEXT);
|
||||||
#define GST_VAAPI_TYPE_DISPLAY \
|
#define GST_VAAPI_TYPE_DISPLAY \
|
||||||
gst_vaapi_display_get_type ()
|
gst_vaapi_display_get_type ()
|
||||||
|
|
||||||
GType
|
/* *INDENT-OFF* */
|
||||||
gst_vaapi_display_get_type (void)
|
static GType gst_vaapi_display_get_type (void) G_GNUC_CONST;
|
||||||
G_GNUC_CONST;
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
G_DEFINE_BOXED_TYPE (GstVaapiDisplay, gst_vaapi_display,
|
G_DEFINE_BOXED_TYPE (GstVaapiDisplay, gst_vaapi_display,
|
||||||
(GBoxedCopyFunc) gst_vaapi_display_ref,
|
(GBoxedCopyFunc) gst_vaapi_display_ref,
|
||||||
(GBoxedFreeFunc) gst_vaapi_display_unref);
|
(GBoxedFreeFunc) gst_vaapi_display_unref);
|
||||||
|
|
||||||
GstContext *gst_vaapi_video_context_new_with_display (GstVaapiDisplay *
|
GstContext *
|
||||||
display, gboolean persistent)
|
gst_vaapi_video_context_new_with_display (GstVaapiDisplay * display,
|
||||||
|
gboolean persistent)
|
||||||
{
|
{
|
||||||
GstContext *context;
|
GstContext *context;
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
|
|
Loading…
Reference in a new issue