[rygel-gst-0-10-fullscreen-renderer] Port to 2.4 API and fix crash



commit 5551d9fae8e8a668fee0d0a4212cd521d158fdfc
Author: Jens Georg <mail jensge org>
Date:   Wed Apr 8 21:01:40 2015 +0200

    Port to 2.4 API and fix crash
    
    Signed-off-by: Jens Georg <mail jensge org>

 INSTALL                    |   12 ++++++------
 configure.ac               |    8 ++++----
 src/rygel-playbin-player.c |    1 +
 3 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/INSTALL b/INSTALL
index a1e89e1..2099840 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,7 +1,7 @@
 Installation Instructions
 *************************
 
-Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
+Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
 Inc.
 
    Copying and distribution of this file, with or without modification,
@@ -12,8 +12,8 @@ without warranty of any kind.
 Basic Installation
 ==================
 
-   Briefly, the shell commands `./configure; make; make install' should
-configure, build, and install this package.  The following
+   Briefly, the shell command `./configure && make && make install'
+should configure, build, and install this package.  The following
 more-detailed instructions are generic; see the `README' file for
 instructions specific to this package.  Some packages provide this
 `INSTALL' file but do not implement all of the features documented
@@ -309,9 +309,10 @@ causes the specified `gcc' to be used as the C compiler (unless it is
 overridden in the site shell script).
 
 Unfortunately, this technique does not work for `CONFIG_SHELL' due to
-an Autoconf bug.  Until the bug is fixed you can use this workaround:
+an Autoconf limitation.  Until the limitation is lifted, you can use
+this workaround:
 
-     CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
+     CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
 
 `configure' Invocation
 ======================
@@ -367,4 +368,3 @@ operates.
 
 `configure' also accepts some other, not widely useful, options.  Run
 `configure --help' for more details.
-
diff --git a/configure.ac b/configure.ac
index 0764b3e..7008027 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,7 +30,7 @@ dnl Required versions of library packages
 LIBRYGEL_RENDERER_GST_REQUIRED=0.17.4
 GSTREAMER_REQUIRED=0.10.36
 GTK_REQUIRED=3.0.0
-REQUIRED_MODULES='gio-2.0 rygel-renderer-2.2 >= $LIBRYGEL_RENDERER_GST_REQUIRED
+REQUIRED_MODULES='gio-2.0 rygel-renderer-2.4 >= $LIBRYGEL_RENDERER_GST_REQUIRED
                   gstreamer-0.10 >= $GSTREAMER_REQUIRED
                   gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED
                   gstreamer-video-0.10 >= $GSTREAMER_REQUIRED
@@ -64,13 +64,13 @@ AC_ARG_ENABLE([plugin],
 AM_CONDITIONAL([BUILD_PLUGIN], [test "x$[]enable_plugin" = "xyes"])
 AS_IF([test "x$[]enable_plugin" = "xyes"],
       [
-        RYGEL_PLUGIN_LINKER_FLAGS="`$PKG_CONFIG --variable=plugin_ldflags  rygel-core-2.2`"
+        RYGEL_PLUGIN_LINKER_FLAGS="`$PKG_CONFIG --variable=plugin_ldflags rygel-core-2.4`"
         AC_SUBST(RYGEL_PLUGIN_LINKER_FLAGS)
 
-        RYGEL_PLUGIN_DIR="`$PKG_CONFIG --variable=plugindir rygel-core-2.2`"
+        RYGEL_PLUGIN_DIR="`$PKG_CONFIG --variable=plugindir rygel-core-2.4`"
         AC_SUBST(RYGEL_PLUGIN_DIR)
 
-        RYGEL_VERSION="`$PKG_CONFIG --modversion rygel-core-2.2`"
+        RYGEL_VERSION="`$PKG_CONFIG --modversion rygel-core-2.4`"
         AC_SUBST(RYGEL_VERSION)
       ])
 
diff --git a/src/rygel-playbin-player.c b/src/rygel-playbin-player.c
index 22877d5..bc474f0 100644
--- a/src/rygel-playbin-player.c
+++ b/src/rygel-playbin-player.c
@@ -1044,6 +1044,7 @@ static void rygel_playbin_player_rygel_media_player_interface_init (RygelMediaPl
   iface->set_volume = rygel_playbin_player_real_set_volume;
   iface->get_duration = rygel_playbin_player_real_get_duration;
   iface->get_position = rygel_playbin_player_real_get_position;
+  iface->get_byte_position = rygel_playbin_player_real_get_byte_position;
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]