mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
nlecomposition: Do useless thing so that the compiler doesn't warn us!
Otherwize we get a gcc warning about useless statements.
This commit is contained in:
parent
2d3769f079
commit
578364ce41
1 changed files with 12 additions and 7 deletions
|
@ -840,6 +840,7 @@ nle_composition_handle_message (GstBin * bin, GstMessage * message)
|
||||||
static void
|
static void
|
||||||
nle_composition_class_init (NleCompositionClass * klass)
|
nle_composition_class_init (NleCompositionClass * klass)
|
||||||
{
|
{
|
||||||
|
gpointer useless;
|
||||||
GObjectClass *gobject_class;
|
GObjectClass *gobject_class;
|
||||||
GstElementClass *gstelement_class;
|
GstElementClass *gstelement_class;
|
||||||
GstBinClass *gstbin_class;
|
GstBinClass *gstbin_class;
|
||||||
|
@ -905,15 +906,19 @@ nle_composition_class_init (NleCompositionClass * klass)
|
||||||
0, NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 1,
|
0, NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 1,
|
||||||
G_TYPE_BOOLEAN);
|
G_TYPE_BOOLEAN);
|
||||||
|
|
||||||
|
useless = GST_DEBUG_FUNCPTR (_seek_pipeline_func);
|
||||||
|
useless = GST_DEBUG_FUNCPTR (_remove_object_func);
|
||||||
|
useless = GST_DEBUG_FUNCPTR (_add_object_func);
|
||||||
|
useless = GST_DEBUG_FUNCPTR (_update_pipeline_func);
|
||||||
|
useless = GST_DEBUG_FUNCPTR (_commit_func);
|
||||||
|
useless = GST_DEBUG_FUNCPTR (_emit_commited_signal_func);
|
||||||
|
useless = GST_DEBUG_FUNCPTR (_initialize_stack_func);
|
||||||
|
|
||||||
|
/* Just be useless, so the compiler does not warn us
|
||||||
|
* about our uselessness */
|
||||||
|
nleobject_class->commit = useless;
|
||||||
nleobject_class->commit = nle_composition_commit_func;
|
nleobject_class->commit = nle_composition_commit_func;
|
||||||
|
|
||||||
GST_DEBUG_FUNCPTR (_seek_pipeline_func);
|
|
||||||
GST_DEBUG_FUNCPTR (_remove_object_func);
|
|
||||||
GST_DEBUG_FUNCPTR (_add_object_func);
|
|
||||||
GST_DEBUG_FUNCPTR (_update_pipeline_func);
|
|
||||||
GST_DEBUG_FUNCPTR (_commit_func);
|
|
||||||
GST_DEBUG_FUNCPTR (_emit_commited_signal_func);
|
|
||||||
GST_DEBUG_FUNCPTR (_initialize_stack_func);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue