rpms/xine-lib/devel xine-lib-1.1.17-avsync_hack.patch, NONE, 1.1 xine-lib-1.1.17-no_autopoint.patch, NONE, 1.1

Rex Dieter rdieter at fedoraproject.org
Thu Dec 3 15:38:44 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/xine-lib/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29463

Added Files:
	xine-lib-1.1.17-avsync_hack.patch 
	xine-lib-1.1.17-no_autopoint.patch 
Log Message:
awol/rebased patches


xine-lib-1.1.17-avsync_hack.patch:
 audio_out.c |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

--- NEW FILE xine-lib-1.1.17-avsync_hack.patch ---
diff -up xine-lib-1.1.17/src/xine-engine/audio_out.c.avsync_hack xine-lib-1.1.17/src/xine-engine/audio_out.c
--- xine-lib-1.1.17/src/xine-engine/audio_out.c.avsync_hack	2009-11-30 19:33:30.000000000 -0600
+++ xine-lib-1.1.17/src/xine-engine/audio_out.c	2009-12-02 09:07:37.622805780 -0600
@@ -1156,8 +1156,17 @@ static void *ao_loop (void *this_gen) {
 
     /*
      * calculate gap:
+     *
+     * HACK (rwa): If we have no video stream we do not need an AV sync and so
+     *             we assume a gap of 0. This seems to avoid the skips in the
+     *             first seconds when playing audio-only via the "glitch-free"
+     *             pulseaudio server.
      */
-    gap = in_buf->vpts - hw_vpts;
+    if (in_buf && in_buf->stream && in_buf->stream->video_decoder_plugin) {
+       gap = in_buf->vpts - hw_vpts;
+    } else {
+       gap = 0;
+    }
     lprintf ("hw_vpts : %" PRId64 " buffer_vpts : %" PRId64 " gap : %" PRId64 "\n",
              hw_vpts, in_buf->vpts, gap);
 

xine-lib-1.1.17-no_autopoint.patch:
 autogen.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE xine-lib-1.1.17-no_autopoint.patch ---
diff -up xine-lib-1.1.17/autogen.sh.no_autopoint xine-lib-1.1.17/autogen.sh
--- xine-lib-1.1.17/autogen.sh.no_autopoint	2009-10-09 09:33:31.000000000 -0500
+++ xine-lib-1.1.17/autogen.sh	2009-12-02 09:15:48.534555467 -0600
@@ -229,10 +229,10 @@ run_aclocal () {
     echo
   fi
   
-  echo $_echo_n " + Running autopoint: $_echo_c"
+  #echo $_echo_n " + Running autopoint: $_echo_c"
   
-  autopoint
-  echo "done." 
+  #autopoint
+  #echo "done." 
 
   echo $_echo_n " + Running aclocal: $_echo_c"
 




More information about the fedora-extras-commits mailing list