Bug 48943

Summary: Pause & unpause issues on mplayer2 with pulseaudio
Product: PulseAudio Reporter: eromatic
Component: miscAssignee: pulseaudio-bugs
Status: RESOLVED FIXED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart, lohmaier
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 50956    

Description eromatic 2012-04-19 18:57:52 UTC
Reproducing the pause audio delay bug on a ATI computer configuration with mplayer2


Computer Configuration:

-Ubuntu 11.10 32bit (Wubi & Unity, and using the default pulseaudio packages as provided with Ubuntu 11.10)
-AMD X2 7750
-ATI 4830
-Running multi-monitor
-ASROCK N68-S (Audio: VIA VT1708S)
-2GB System Memory


To reproduce the audio pause delay:

1) Open a Nautilus window.
2) Open a terminal window.
3) Open a video from the terminal window: "mplayer -vo gl -ao pulse file.mkv"
4) Pause the now running video with the spacebar.
5) Alt+Tab to the Nautilus window.
6) Left-click on the mplayer2 video window.

When you unpause and then repause the video window, you should now be able to observe the issue where the video will instantly pause, but the audio will continue on for about a second after before then stopping.


Related Bug #2:

Also in relation to this bug, an unpausing issue is seen when doing the following:

1) Open a Nautilus window.
2) Open a terminal window.
3) Open a video from the terminal window: "mplayer -vo gl -ao alsa file.mkv"
4) Pause the now running video with the spacebar.
5) Alt+Tab to the Nautilus window.
6) Left-click on the mplayer2 video window.
7) After unpausing, repausing, and then unpausing the video a few times more, you should be able to observe a issue where the video and audio will remain paused after attempting to unpause. The use of "-ao alsa" is required to trigger this bug. The use of "-ao pulse" corrects the unpausing issue.


Notes:

These test were done while running multi-monitors (2 monitors total.), but all running windows were present only on the primary monitor. All tests were done using the latest mplayer2-build as of 2012-04-17 12:58:31 (UTC).


The mplayer2-build can be found at:
http://git.mplayer2.org/mplayer2-build/


Also see the mplayer2 bug report at:
http://devel.mplayer2.org/ticket/168
Comment 1 Arun Raghavan 2012-11-19 06:59:19 UTC
Thank you for the report. Tanu implemented a fix for this and that has been merged. You should see this fixed in 3.0.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.