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