plugin: Use set_static_metadata in class init

Use static version of this function, so our static strings will not be copied
This commit is contained in:
Rafał Dzięgiel
2022-06-06 21:04:17 +02:00
parent c288223321
commit 2343e84a41

View File

@@ -890,7 +890,7 @@ gst_clapper_sink_class_init (GstClapperSinkClass *klass)
gstvideosink_class->set_info = gst_clapper_sink_set_info; gstvideosink_class->set_info = gst_clapper_sink_set_info;
gstvideosink_class->show_frame = gst_clapper_sink_show_frame; gstvideosink_class->show_frame = gst_clapper_sink_show_frame;
gst_element_class_set_metadata (gstelement_class, gst_element_class_set_static_metadata (gstelement_class,
"Clapper video sink", "Clapper video sink",
"Sink/Video", "A GTK4 video sink used by Clapper media player", "Sink/Video", "A GTK4 video sink used by Clapper media player",
"Rafał Dzięgiel <rafostar.github@gmail.com>"); "Rafał Dzięgiel <rafostar.github@gmail.com>");