kaya: run gst-indent
This commit is contained in:
parent
8a79fa0c0d
commit
f39e48d065
@ -3,27 +3,27 @@
|
|||||||
#include "gstkayasink.h"
|
#include "gstkayasink.h"
|
||||||
#include "gstkayasrc.h"
|
#include "gstkayasrc.h"
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC(kayaplugin_debug);
|
GST_DEBUG_CATEGORY_STATIC (kayaplugin_debug);
|
||||||
#define GST_CAT_DEFAULT kayaplugin_debug
|
#define GST_CAT_DEFAULT kayaplugin_debug
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init(GstPlugin* plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
GST_DEBUG_CATEGORY_INIT(kayaplugin_debug, "kaya", 0,
|
GST_DEBUG_CATEGORY_INIT (kayaplugin_debug, "kaya", 0,
|
||||||
"debug category for kaya plugin");
|
"debug category for kaya plugin");
|
||||||
|
|
||||||
if (!gst_element_register(plugin, "kayasink", GST_RANK_NONE,
|
if (!gst_element_register (plugin, "kayasink", GST_RANK_NONE,
|
||||||
gst_kayasink_get_type()))
|
gst_kayasink_get_type ()))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (!gst_element_register(plugin, "kayasrc", GST_RANK_NONE,
|
if (!gst_element_register (plugin, "kayasrc", GST_RANK_NONE,
|
||||||
gst_kayasrc_get_type()))
|
gst_kayasrc_get_type ()))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_PLUGIN_DEFINE(GST_VERSION_MAJOR,
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||||
GST_VERSION_MINOR,
|
GST_VERSION_MINOR,
|
||||||
kaya,
|
kaya,
|
||||||
"Kaya plugin",
|
"Kaya plugin",
|
||||||
|
|||||||
@ -585,8 +585,10 @@ gst_kayasink_set_kaya_caps (GstKayaSink * sink, GstCaps * caps)
|
|||||||
format = "YUV422_8";
|
format = "YUV422_8";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
GST_ELEMENT_ERROR(sink, LIBRARY, FAILED,
|
GST_ELEMENT_ERROR (sink, LIBRARY, FAILED,
|
||||||
("Unsupported pixel format: %s.", gst_video_format_to_string(GST_VIDEO_INFO_FORMAT(&sink->vinfo))), (NULL));
|
("Unsupported pixel format: %s.",
|
||||||
|
gst_video_format_to_string (GST_VIDEO_INFO_FORMAT (&sink->
|
||||||
|
vinfo))), (NULL));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -130,7 +130,7 @@ gst_kayasrc_class_init (GstKayaSrcClass * klass)
|
|||||||
GstPushSrcClass *gstpushsrc_class = GST_PUSH_SRC_CLASS (klass);
|
GstPushSrcClass *gstpushsrc_class = GST_PUSH_SRC_CLASS (klass);
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT(GST_CAT_DEFAULT, "kayasrc", 0,
|
GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "kayasrc", 0,
|
||||||
"Kaya CoaXPress video source");
|
"Kaya CoaXPress video source");
|
||||||
|
|
||||||
gobject_class->set_property = gst_kayasrc_set_property;
|
gobject_class->set_property = gst_kayasrc_set_property;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user