Skip to content

Commit

Permalink
plugin: Use set_static_metadata in class init
Browse files Browse the repository at this point in the history
Use static version of this function, so our static strings will not be copied
  • Loading branch information
Rafostar committed Jun 6, 2022
1 parent c288223 commit 2343e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gst/plugin/gstclappersink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>");
Expand Down

0 comments on commit 2343e84

Please sign in to comment.