mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
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:
2
lib/gst/plugin/gstclappersink.c
vendored
2
lib/gst/plugin/gstclappersink.c
vendored
@@ -890,7 +890,7 @@ gst_clapper_sink_class_init (GstClapperSinkClass *klass)
|
||||
gstvideosink_class->set_info = gst_clapper_sink_set_info;
|
||||
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",
|
||||
"Sink/Video", "A GTK4 video sink used by Clapper media player",
|
||||
"Rafał Dzięgiel <rafostar.github@gmail.com>");
|
||||
|
Reference in New Issue
Block a user