diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2015-11-01 13:21:45 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-12-01 17:51:34 +0000 |
commit | efe62292a3d045126654d93239fdf4cc8e48ae08 (patch) | |
tree | 87eb42b0a6daa3e3c77e144c23cf98097926bf6e /ext/hls | |
parent | fac4ed18d45c455e3971b1eb6d09246c7eafe00f (diff) | |
download | gstreamer-plugins-bad-efe62292a3d045126654d93239fdf4cc8e48ae08.tar.gz |
hls: rename plugin from fragmented to hls
Diffstat (limited to 'ext/hls')
-rw-r--r-- | ext/hls/Makefile.am | 16 | ||||
-rw-r--r-- | ext/hls/gstfragmented.h | 12 | ||||
-rw-r--r-- | ext/hls/gsthls.h | 12 | ||||
-rw-r--r-- | ext/hls/gsthlsdemux.h | 2 | ||||
-rw-r--r-- | ext/hls/gsthlsplugin.c (renamed from ext/hls/gstfragmentedplugin.c) | 14 | ||||
-rw-r--r-- | ext/hls/gstm3u8playlist.c | 4 | ||||
-rw-r--r-- | ext/hls/m3u8.c | 4 |
7 files changed, 32 insertions, 32 deletions
diff --git a/ext/hls/Makefile.am b/ext/hls/Makefile.am index 2c287c70e..f1632028d 100644 --- a/ext/hls/Makefile.am +++ b/ext/hls/Makefile.am @@ -1,25 +1,25 @@ -plugin_LTLIBRARIES = libgstfragmented.la +plugin_LTLIBRARIES = libgsthls.la -libgstfragmented_la_SOURCES = \ +libgsthls_la_SOURCES = \ m3u8.c \ gsthlsdemux.c \ - gstfragmentedplugin.c \ + gsthlsplugin.c \ gsthlssink.c \ gstm3u8playlist.c -libgstfragmented_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(LIBGCRYPT_CFLAGS) $(NETTLE_CFLAGS) -libgstfragmented_la_LIBADD = \ +libgsthls_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(LIBGCRYPT_CFLAGS) $(NETTLE_CFLAGS) +libgsthls_la_LIBADD = \ $(top_builddir)/gst-libs/gst/uridownloader/libgsturidownloader-@GST_API_VERSION@.la \ $(top_builddir)/gst-libs/gst/adaptivedemux/libgstadaptivedemux-@GST_API_VERSION@.la \ $(GST_PLUGINS_BASE_LIBS) -lgstpbutils-$(GST_API_VERSION) -lgstvideo-$(GST_API_VERSION) \ $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) $(LIBGCRYPT_LIBS) $(NETTLE_LIBS) $(OPENSSL_LIBS) -libgstfragmented_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -no-undefined -libgstfragmented_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS) +libgsthls_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -no-undefined +libgsthls_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS) # headers we need but don't want installed noinst_HEADERS = \ - gstfragmented.h \ + gsthls.h \ gsthlsdemux.h \ gsthlssink.h \ gstm3u8playlist.h \ diff --git a/ext/hls/gstfragmented.h b/ext/hls/gstfragmented.h deleted file mode 100644 index 46656aca3..000000000 --- a/ext/hls/gstfragmented.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef __GST_FRAGMENTED_H__ -#define __GST_FRAGMENTED_H__ - -#include <gst/gst.h> - -G_BEGIN_DECLS - -GST_DEBUG_CATEGORY_EXTERN (fragmented_debug); - -G_END_DECLS - -#endif /* __GST_FRAGMENTED_H__ */ diff --git a/ext/hls/gsthls.h b/ext/hls/gsthls.h new file mode 100644 index 000000000..3806f4f21 --- /dev/null +++ b/ext/hls/gsthls.h @@ -0,0 +1,12 @@ +#ifndef __GST_HLS_H__ +#define __GST_HLS_H__ + +#include <gst/gst.h> + +G_BEGIN_DECLS + +GST_DEBUG_CATEGORY_EXTERN (hls_debug); + +G_END_DECLS + +#endif /* __GST_HLS_H__ */ diff --git a/ext/hls/gsthlsdemux.h b/ext/hls/gsthlsdemux.h index daa3670ce..1154236f6 100644 --- a/ext/hls/gsthlsdemux.h +++ b/ext/hls/gsthlsdemux.h @@ -26,7 +26,7 @@ #include <gst/gst.h> #include "m3u8.h" -#include "gstfragmented.h" +#include "gsthls.h" #include <gst/adaptivedemux/gstadaptivedemux.h> #if defined(HAVE_OPENSSL) #include <openssl/evp.h> diff --git a/ext/hls/gstfragmentedplugin.c b/ext/hls/gsthlsplugin.c index 89a77412a..552f514de 100644 --- a/ext/hls/gstfragmentedplugin.c +++ b/ext/hls/gsthlsplugin.c @@ -4,16 +4,16 @@ #include <gst/gst.h> -#include "gstfragmented.h" +#include "gsthls.h" #include "gsthlsdemux.h" #include "gsthlssink.h" -GST_DEBUG_CATEGORY (fragmented_debug); +GST_DEBUG_CATEGORY (hls_debug); static gboolean -fragmented_init (GstPlugin * plugin) +hls_init (GstPlugin * plugin) { - GST_DEBUG_CATEGORY_INIT (fragmented_debug, "fragmented", 0, "fragmented"); + GST_DEBUG_CATEGORY_INIT (hls_debug, "hls", 0, "HTTP Live Streaming (HLS)"); if (!gst_element_register (plugin, "hlsdemux", GST_RANK_PRIMARY, GST_TYPE_HLS_DEMUX) || FALSE) @@ -27,6 +27,6 @@ fragmented_init (GstPlugin * plugin) GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, - fragmented, - "Fragmented streaming plugins", - fragmented_init, VERSION, "LGPL", PACKAGE_NAME, "http://www.gstreamer.org/") + hls, + "HTTP Live Streaming (HLS)", + hls_init, VERSION, GST_LICENSE, PACKAGE_NAME, GST_PACKAGE_ORIGIN) diff --git a/ext/hls/gstm3u8playlist.c b/ext/hls/gstm3u8playlist.c index e3eae94ed..c6007020b 100644 --- a/ext/hls/gstm3u8playlist.c +++ b/ext/hls/gstm3u8playlist.c @@ -21,10 +21,10 @@ #include <glib.h> -#include "gstfragmented.h" +#include "gsthls.h" #include "gstm3u8playlist.h" -#define GST_CAT_DEFAULT fragmented_debug +#define GST_CAT_DEFAULT hls_debug enum { diff --git a/ext/hls/m3u8.c b/ext/hls/m3u8.c index d1fa8a312..f161315c7 100644 --- a/ext/hls/m3u8.c +++ b/ext/hls/m3u8.c @@ -25,10 +25,10 @@ #include <glib.h> #include <string.h> -#include "gstfragmented.h" +#include "gsthls.h" #include "m3u8.h" -#define GST_CAT_DEFAULT fragmented_debug +#define GST_CAT_DEFAULT hls_debug static GstM3U8 *gst_m3u8_new (void); static void gst_m3u8_free (GstM3U8 * m3u8); |