GNOME Bugzilla – Bug 120239
Pressing pause blocks sound output for Mplayer
Last modified: 2004-12-22 21:47:04 UTC
(using Xine backend since gst backend is broken (i get gnomevfssrc errors) If I pause the song playing to play a movie I get no sound since Rhythmbox blocks the sound output. Since there's no way of STOP playing a file in Rhythmbox I have to quit rhythmbox and then start it again after I've played the movie. If you pause there should be one more choice, [] STOP so theres play and STOP and if you press stop rhythmbox don't block sound output.
It also blocks every SDL app and every xine app.
This is a generic problem, rhythmbox would need to "close" the device in some instances, like when switching sources while the playback is paused, and such. This is not a xine specific bug.
Hmm. Benjamin made some changes to the -gst-tmp.c implementation so that it sets the sink's state to NULL on pause, thus releasing any resources it was using. Can't you do something similar with the Xine backend? I don't think this has anything really to do with which source is displayed.
2003-08-27 Bastien Nocera <hadess@hadess.net> * monkey-media/monkey-media-player-xine.c: (monkey_media_player_pause): close the audio device on pause (Closes: #120239) Watch out, it requires xine-lib CVS