[rygel] playbin: Also create shared library
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] playbin: Also create shared library
- Date: Tue, 3 Jul 2012 07:55:20 +0000 (UTC)
commit 0fcafedc211e77d455215c21a5ddcdd97ae3530e
Author: Jens Georg <mail jensge org>
Date: Thu Jun 7 21:12:58 2012 +0200
playbin: Also create shared library
src/plugins/playbin/Makefile.am | 8 ++++++++
src/plugins/playbin/rygel-playbin-player.vala | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/playbin/Makefile.am b/src/plugins/playbin/Makefile.am
index b6f0baa..3fc840e 100644
--- a/src/plugins/playbin/Makefile.am
+++ b/src/plugins/playbin/Makefile.am
@@ -1,5 +1,13 @@
include ../../../common.am
+lib_LTLIBRARIES = librygel-renderer.la
+librygel_renderer_la_SOURCES = $(librygel_playbin_la_SOURCES)
+librygel_renderer_la_VALAFLAGS = \
+ -H rygel-renderer.h --library=rygel-renderer-1.0 \
+ $(RYGEL_COMMON_PLUGIN_VALAFLAGS)
+librygel_renderer_la_LIBADD = $(RYGEL_COMMON_LIBS)
+#librygel_renderer_la_LDFLAGS = $(RYGEL_PLUGIN_LINKER_FLAGS)
+
plugin_LTLIBRARIES = librygel-playbin.la
AM_CFLAGS += -DG_LOG_DOMAIN='"Playbin"'
diff --git a/src/plugins/playbin/rygel-playbin-player.vala b/src/plugins/playbin/rygel-playbin-player.vala
index 7342fdd..e2842f2 100644
--- a/src/plugins/playbin/rygel-playbin-player.vala
+++ b/src/plugins/playbin/rygel-playbin-player.vala
@@ -71,7 +71,7 @@ public class Rygel.Playbin.Player : GLib.Object, Rygel.MediaPlayer {
"video/x-ms-wmv" };
private static Player player;
- private dynamic Element playbin;
+ public dynamic Element playbin;
private string _playback_state = "NO_MEDIA_PRESENT";
public string playback_state {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]