• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 #ifdef HAVE_CONFIG_H
3 #  include <config.h>
4 #endif
5 
6 #include "gsthlselements.h"
7 
8 
9 static gboolean
plugin_init(GstPlugin * plugin)10 plugin_init (GstPlugin * plugin)
11 {
12   gboolean ret = FALSE;
13 
14   ret |= GST_ELEMENT_REGISTER (hlsdemux, plugin);
15 #ifndef OHOS_EXT_FUNC
16   /* ohos.ext.func.0032 remove the unused features */
17   ret |= GST_ELEMENT_REGISTER (hlssink, plugin);
18   ret |= GST_ELEMENT_REGISTER (hlssink2, plugin);
19 #endif
20   return ret;
21 }
22 
23 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
24     GST_VERSION_MINOR,
25     hls,
26     "HTTP Live Streaming (HLS)",
27     plugin_init, VERSION, GST_LICENSE, PACKAGE_NAME, GST_PACKAGE_ORIGIN)
28