[packman] MPlayer
Johannes Engel
jcnengel at googlemail.com
Thu Dec 3 22:29:43 CET 2009
Hi Henne,
currently MPlayer has a nasty error playing together with recent
pulseaudio versions: It sets the volume to 100% for every stream at the
start or when starting a new stream. There is an easy patch available
which I would suggest to include in the PackMan build:
--- libao2/ao_pulse.c (revision 29771)
+++ libao2/ao_pulse.c (working copy)
@@ -224,7 +224,7 @@
pa_stream_set_write_callback(stream, stream_request_cb, NULL);
pa_stream_set_latency_update_callback(stream,
stream_latency_update_cb, NULL);
- if (pa_stream_connect_playback(stream, sink, NULL,
PA_STREAM_INTERPOLATE_TIMING|PA_STREAM_AUTO_TIMING_UPDATE, &volume,
NULL) < 0)
+ if (pa_stream_connect_playback(stream, sink, NULL,
PA_STREAM_INTERPOLATE_TIMING|PA_STREAM_AUTO_TIMING_UPDATE, NULL, NULL) < 0)
goto unlock_and_fail;
/* Wait until the stream is ready */
What do you think?
Best wishes,
Johannes
More information about the Packman
mailing list