mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
streamsynchronizer: Make the element public
https://bugzilla.gnome.org/show_bug.cgi?id=688240
This commit is contained in:
parent
a87cd40f49
commit
4f480612e9
3 changed files with 14 additions and 3 deletions
|
@ -30,6 +30,7 @@
|
|||
#include "gstplayback.h"
|
||||
#include "gstplaysink.h"
|
||||
#include "gstsubtitleoverlay.h"
|
||||
#include "gststreamsynchronizer.h"
|
||||
|
||||
static gboolean
|
||||
plugin_init (GstPlugin * plugin)
|
||||
|
@ -48,6 +49,7 @@ plugin_init (GstPlugin * plugin)
|
|||
res = gst_play_bin2_plugin_init (plugin);
|
||||
res &= gst_play_sink_plugin_init (plugin);
|
||||
res &= gst_subtitle_overlay_plugin_init (plugin);
|
||||
res &= gst_stream_synchronizer_plugin_init (plugin);
|
||||
|
||||
res &= gst_decode_bin_plugin_init (plugin);
|
||||
res &= gst_uri_decode_bin_plugin_init (plugin);
|
||||
|
|
|
@ -844,9 +844,6 @@ gst_stream_synchronizer_class_init (GstStreamSynchronizerClass * klass)
|
|||
GObjectClass *gobject_class = (GObjectClass *) klass;
|
||||
GstElementClass *element_class = (GstElementClass *) klass;
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (stream_synchronizer_debug,
|
||||
"streamsynchronizer", 0, "Stream Synchronizer");
|
||||
|
||||
gobject_class->finalize = gst_stream_synchronizer_finalize;
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
|
@ -866,3 +863,13 @@ gst_stream_synchronizer_class_init (GstStreamSynchronizerClass * klass)
|
|||
element_class->release_pad =
|
||||
GST_DEBUG_FUNCPTR (gst_stream_synchronizer_release_pad);
|
||||
}
|
||||
|
||||
gboolean
|
||||
gst_stream_synchronizer_plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
GST_DEBUG_CATEGORY_INIT (stream_synchronizer_debug,
|
||||
"streamsynchronizer", 0, "Stream Synchronizer");
|
||||
|
||||
return gst_element_register (plugin, "streamsynchronizer", GST_RANK_NONE,
|
||||
GST_TYPE_STREAM_SYNCHRONIZER);
|
||||
}
|
||||
|
|
|
@ -61,6 +61,8 @@ struct _GstStreamSynchronizerClass
|
|||
|
||||
GType gst_stream_synchronizer_get_type (void);
|
||||
|
||||
gboolean gst_stream_synchronizer_plugin_init (GstPlugin * plugin);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_STREAM_SYNCHRONIZER_H__ */
|
||||
|
|
Loading…
Reference in a new issue