pleora: run gst-indent

Excluding the true C++ file
This commit is contained in:
Joshua M. Doe 2020-03-19 11:44:09 -04:00
parent fa07ad8263
commit 552fae8538
3 changed files with 9 additions and 8 deletions

View File

@ -21,14 +21,14 @@ plugin_init (GstPlugin * plugin)
#if VERSION_MAJOR >= 6
/* eBUS 6 is needed for this sink element */
if (!gst_element_register (plugin, "pleorasink", GST_RANK_NONE,
gst_pleorasink_get_type ())) {
return FALSE;
gst_pleorasink_get_type ())) {
return FALSE;
}
#endif
if (!gst_element_register (plugin, "pleorasrc", GST_RANK_NONE,
gst_pleorasrc_get_type ())) {
return FALSE;
gst_pleorasrc_get_type ())) {
return FALSE;
}
return TRUE;

View File

@ -301,7 +301,7 @@ gst_pleorasink_set_property (GObject * object, guint property_id,
break;
case PROP_OUTPUT_KLV:
sink->output_klv = g_value_get_boolean (value);
sink->source->SetKlvEnabled ((bool)sink->output_klv);
sink->source->SetKlvEnabled ((bool) sink->output_klv);
break;
case PROP_AUTO_MULTICAST:
sink->auto_multicast = g_value_get_boolean (value);
@ -595,7 +595,8 @@ gst_pleorasink_start_multicasting (GstPleoraSink * sink)
guint8 multiaddr[4] =
{ atoi (addr_elems[3]), atoi (addr_elems[2]), atoi (addr_elems[1]),
atoi (addr_elems[0]) };
atoi (addr_elems[0])
};
pvRes = sink->register_SCDA0->Write (multiaddr, 4);
if (!pvRes.IsOK ()) {
GST_ELEMENT_ERROR (sink, RESOURCE, SETTINGS,

View File

@ -330,7 +330,7 @@ gst_pleorasrc_set_property (GObject * object, guint property_id,
src->config_file_connect = g_value_get_boolean (value);
break;
case PROP_OUTPUT_KLV:
src->output_klv= g_value_get_boolean (value);
src->output_klv = g_value_get_boolean (value);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);