Rename GstRenderer plugin to Playbin.
if test ! -e src/rygel/rygel_vala.stamp -o \
! -e src/rygel/librygel_configuration_a_vala.stamp -o \
! -e src/ui/rygel_preferences_vala.stamp -o \
- ! -e src/plugins/gst-renderer/librygel_gst_renderer_la_vala.stamp -o \
+ ! -e src/plugins/playbin/librygel_playbin_la_vala.stamp -o \
! -e src/plugins/tracker/librygel_media_tracker_la_vala.stamp -o \
! -e src/plugins/test/librygel_test_la_vala.stamp -o \
! -e src/plugins/media-export/librygel_media_export_la_vala.stamp -o \
enable_external_plugin=yes)
# Build GstRenderer plugin
-AC_ARG_ENABLE(gst-renderer-plugin,
- [ --enable-gst-renderer_plugin build Gstreamer Renderer plugin],,
- enable_gst_renderer_plugin=yes)
+AC_ARG_ENABLE(playbin-plugin,
+ [ --enable-playbin_plugin build Gstreamer Playbin plugin],,
+ enable_playbin_plugin=yes)
# Build Mediathek plugin
AC_ARG_ENABLE(mediathek-plugin,
AM_CONDITIONAL([BUILD_MEDIATHEK_PLUGIN], [test "x$enable_mediathek_plugin" = "xyes"])
AM_CONDITIONAL([BUILD_MEDIA_EXPORT_PLUGIN], [test "x$enable_media_export_plugin" = "xyes"])
AM_CONDITIONAL([BUILD_EXTERNAL_PLUGIN], [test "x$enable_external_plugin" = "xyes"])
-AM_CONDITIONAL([BUILD_GST_RENDERER_PLUGIN], [test "x$enable_gst_renderer_plugin" = "xyes"])
+AM_CONDITIONAL([BUILD_PLAYBIN_PLUGIN], [test "x$enable_playbin_plugin" = "xyes"])
AM_CONDITIONAL([BUILD_GST_LAUNCH_PLUGIN], [test "x$enable_gst_launch_plugin" = "xyes"])
if test "x$enable_media_export_plugin" = "xyes";
src/plugins/gst-launch/Makefile
src/plugins/mediathek/Makefile
src/plugins/tracker/Makefile
-src/plugins/gst-renderer/Makefile
+src/plugins/playbin/Makefile
src/plugins/test/Makefile
data/Makefile
data/xml/Makefile
media-export ${enable_media_export_plugin}
external: ${enable_external_plugin}
gst-launch: ${enable_gst_launch_plugin}
- gst-renderer: ${enable_gst_renderer_plugin}
+ playbin: ${enable_playbin_plugin}
"
src/plugins/gst-launch/rygel-gst-launch-item.vala
src/plugins/gst-launch/rygel-gst-launch-plugin.vala
src/plugins/gst-launch/rygel-gst-launch-root-container.vala
-src/plugins/gst-renderer/rygel-gst-renderer-player.vala
-src/plugins/gst-renderer/rygel-gst-renderer-plugin.vala
+src/plugins/playbin/rygel-playbin-player.vala
+src/plugins/playbin/rygel-playbin-plugin.vala
src/plugins/media-export/rygel-media-export-database.vala
src/plugins/media-export/rygel-media-export-db-container.vala
src/plugins/media-export/rygel-media-export-db-object-factory.vala
-src/plugins/gst-renderer/rygel-gst-renderer-player.c
-src/plugins/gst-renderer/rygel-gst-renderer-plugin.c
+src/plugins/playbin/rygel-playbin-player.c
+src/plugins/playbin/rygel-playbin-plugin.c
src/plugins/media-export/rygel-media-export-database.c
src/plugins/media-export/rygel-media-export-db.c
src/plugins/media-export/rygel-media-export-media-cache.c
GST_LAUNCH_PLUGIN = gst-launch
endif
-if BUILD_GST_RENDERER_PLUGIN
-GST_RENDERER = gst-renderer
+if BUILD_PLAYBIN_PLUGIN
+PLAYBIN = playbin
endif
SUBDIRS = $(TEST_PLUGIN) \
$(MEDIA_EXPORT_PLUGIN) \
$(EXTERNAL_PLUGIN) \
$(GST_LAUNCH_PLUGIN) \
- $(GST_RENDERER)
+ $(PLAYBIN)
MAINTAINERCLEANFILES = Makefile.in
+++ /dev/null
-if UNINSTALLED
-shareddir = $(abs_top_builddir)/data
-else
-shareddir = $(datadir)/rygel
-endif
-
-plugindir = $(libdir)/rygel-1.0
-
-plugin_LTLIBRARIES = librygel-gst-renderer.la
-
-AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
- $(LIBGUPNP_AV_CFLAGS) \
- $(GEE_CFLAGS) \
- $(LIBDBUS_GLIB_CFLAGS) \
- $(LIBGSTREAMER_CFLAGS) \
- $(UUID_CFLAGS) \
- -I$(top_srcdir)/src/rygel -DDATA_DIR='"$(shareddir)"' \
- -include config.h
-
-librygel_gst_renderer_la_SOURCES = rygel-gst-renderer-player.vala \
- rygel-gst-renderer-plugin.vala \
- rygel-gst-renderer-time.vala
-
-librygel_gst_renderer_la_VALAFLAGS = --vapidir=$(top_srcdir)/src/rygel \
- --vapidir=$(srcdir) \
- --pkg rygel-1.0 --pkg rygel-build-config \
- --pkg gupnp-1.0 --pkg gupnp-av-1.0 \
- --pkg gee-1.0 --pkg gstreamer-0.10 -g
-
-librygel_gst_renderer_la_LIBADD = $(LIBGUPNP_LIBS) \
- $(LIBGUPNP_AV_LIBS) \
- $(LIBGSTREAMER_LIBS) \
- $(LIBDBUS_GLIB_LIBS) \
- $(GEE_LIBS) \
- $(UUID_LIBS)
-librygel_gst_renderer_la_LDFLAGS = -shared -fPIC -module -avoid-version
-
-MAINTAINERCLEANFILES = Makefile.in
--- /dev/null
+if UNINSTALLED
+shareddir = $(abs_top_builddir)/data
+else
+shareddir = $(datadir)/rygel
+endif
+
+plugindir = $(libdir)/rygel-1.0
+
+plugin_LTLIBRARIES = librygel-playbin.la
+
+AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
+ $(LIBGUPNP_AV_CFLAGS) \
+ $(GEE_CFLAGS) \
+ $(LIBDBUS_GLIB_CFLAGS) \
+ $(LIBGSTREAMER_CFLAGS) \
+ $(UUID_CFLAGS) \
+ -I$(top_srcdir)/src/rygel -DDATA_DIR='"$(shareddir)"' \
+ -include config.h
+
+librygel_playbin_la_SOURCES = rygel-playbin-player.vala \
+ rygel-playbin-plugin.vala \
+ rygel-playbin-time.vala
+
+librygel_playbin_la_VALAFLAGS = --vapidir=$(top_srcdir)/src/rygel \
+ --vapidir=$(srcdir) \
+ --pkg rygel-1.0 --pkg rygel-build-config \
+ --pkg gupnp-1.0 --pkg gupnp-av-1.0 \
+ --pkg gee-1.0 --pkg gstreamer-0.10 -g
+
+librygel_playbin_la_LIBADD = $(LIBGUPNP_LIBS) \
+ $(LIBGUPNP_AV_LIBS) \
+ $(LIBGSTREAMER_LIBS) \
+ $(LIBDBUS_GLIB_LIBS) \
+ $(GEE_LIBS) \
+ $(UUID_LIBS)
+librygel_playbin_la_LDFLAGS = -shared -fPIC -module -avoid-version
+
+MAINTAINERCLEANFILES = Makefile.in
using Gst;
-public class Rygel.GstRenderer.Player : GLib.Object, Rygel.MediaPlayer {
+public class Rygel.Playbin.Player : GLib.Object, Rygel.MediaPlayer {
private const string[] protocols = { "http-get", "rtsp" };
private const string[] mime_types = {
"audio/mpeg",
using Gee;
public void module_init (PluginLoader loader) {
- var plugin = new GstRenderer.Plugin ();
+ var plugin = new Playbin.Plugin ();
loader.add_plugin (plugin);
}
-public class Rygel.GstRenderer.Plugin : Rygel.MediaRendererPlugin {
+public class Rygel.Playbin.Plugin : Rygel.MediaRendererPlugin {
public Plugin () {
- base ("GstRenderer", _("GStreamer Renderer"));
+ base ("Playbin", _("GStreamer Player"));
}
public override MediaPlayer? get_player () {
- return GstRenderer.Player.get_default ();
+ return Playbin.Player.get_default ();
}
}
// Helper class for converting between Gstreamer time units and string
// representations of time.
-private class Rygel.GstRenderer.Time {
+private class Rygel.Playbin.Time {
public static ClockTime from_string (string str) {
uint64 hours, minutes, seconds;