Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
xine-lib
xine-lib-1.1.19-glitch-free-pulseaudio.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xine-lib-1.1.19-glitch-free-pulseaudio.patch of Package xine-lib
diff -ur xine-lib-1.1.19.orig/src/xine-engine/audio_out.c xine-lib-1.1.19/src/xine-engine/audio_out.c --- xine-lib-1.1.19.orig/src/xine-engine/audio_out.c 2010-07-21 19:43:52.000000000 +0200 +++ xine-lib-1.1.19/src/xine-engine/audio_out.c 2010-07-26 00:34:13.178049961 +0200 @@ -1156,8 +1156,17 @@ /* * 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);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor