annolinux / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

Unpausing video doesn't work... #176

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Hit space to pause the movie. Movie pauses, text in status bar changes
to paused.
2. Hit space again to unpause the movie, but the movie doesn't resume, osd
is shown for about a second, text in status bar changes from pause to timestamp
3. Hit space once again, movie resumes, text in status bar changes to pause
again
4. Hit space a forth time. osd shows up for a second, movie keeps playing
and text changes from text to timestamp again.

Tested with latest mplayer svn and gnome-mplayer svn (13th of march 2009)
on Ubuntu 9.04 32bit.

PS: No debug log, as there's no console output during the "problem".

Original issue reported on code.google.com by srhndalg...@googlemail.com on 13 May 2009 at 5:55

GoogleCodeExporter commented 9 years ago
Are you using pulse audio?

Please run gnome-mplayer with the -v option and post the output here.

Original comment by kdeko...@gmail.com on 13 May 2009 at 6:04

GoogleCodeExporter commented 9 years ago
Yes, i use pulse audio. Log is attached.

Original comment by srhndalg...@googlemail.com on 13 May 2009 at 10:50

Attachments:

GoogleCodeExporter commented 9 years ago
Suggest upgrading mplayer, the version you have is missing the SVN tag so I 
can't
tell how recent it is. It looks like it has some of the pulse work arounds in 
it, but
hard to be sure. Upgrading should help.

Also what version of pulseaudio do you have installed?

Original comment by kdeko...@gmail.com on 15 May 2009 at 7:29

GoogleCodeExporter commented 9 years ago
pulseaudio version is 0.9.14, mplayer was compiled from a fresh svn checkout on 
May
13th. Will try to build a even newer version later this day...

Original comment by srhndalg...@googlemail.com on 20 May 2009 at 12:40

GoogleCodeExporter commented 9 years ago
when you run mplayer with the '-ao pulse' option does it have trouble pausing 
and
un-pausing.

Original comment by kdeko...@gmail.com on 20 May 2009 at 6:42

GoogleCodeExporter commented 9 years ago
Confirmed the same issue on YellowDog Linux 6.1 ppc using alsa (default for my 
system).
Using oss (emulation driver) pausing/unpausing works perfect. Both drivers work 
wtih 
mplayer ("-ao alsa" or "-ao oss").
Alsa v1.0.14rc4

Original comment by veliko...@tiscali.co.uk on 21 May 2009 at 1:16

GoogleCodeExporter commented 9 years ago
So you are saying that with just mplayer things work fine but with 
gnome-mplayer they
fail? I'm confused as to what works and what doesn't.

Can you pull latest gnome-mplayer svn and retest?

please make a table like this

prog                ao               pass/fail
ie: mplayer         oss              pass

Original comment by kdeko...@gmail.com on 21 May 2009 at 1:48

GoogleCodeExporter commented 9 years ago
After a lot of testing I think that it may be issue/conflict with the Window 
Manager

Gnome+Metacity
mplayer                alsa/oss        working
gnome-mplayer-r1291    alsa/oss        working

Gnome+Fluxbox
mplayer                alsa/oss        working
gnome-mplayer-r1291    alsa/oss        random

By random I mean that sometimes it is working and sometimes it's not. From my 
experience -
ao alsa is a bit more picky.
I think that it may be something with my Window Manager not getting the focus 
on the 
object/window all of the time.
Personally the problem is with all KEY MAPPINGS (F, space etc.)
Please give it a test with another WM like Fluxbox,OpenBox,Blackbox etc.

PS Verbose output of gnome-mplayer does not give messages when switching/trying 
to switch 
to fullscreen ( or pause/unpause )

Original comment by veliko...@tiscali.co.uk on 21 May 2009 at 9:04

GoogleCodeExporter commented 9 years ago
use --reallyverbose to get more debug information.

Window managers could be sending keys to the wrong window. I just went thru a 
whole
debug cycle with the fullscreen issue where it worked perfectly and very simply 
with
metacity. I had to add on a whole new layer to make it work with kwin. Kinda 
sucked.

Original comment by kdeko...@gmail.com on 21 May 2009 at 9:15

GoogleCodeExporter commented 9 years ago
gnome-mplayer r1292      alsa working ( 3 out of 4 
Here is the attached log with  --reallyverbose. The first "pause" worked for 
about 1 
second ( probably even less ) then unpaused by itself. All the others where 
working 
perfectly, except for the OSD which after unpausing was showing "<< CURRENT 
TIME/
TOTAL TIME".

Original comment by veliko...@tiscali.co.uk on 22 May 2009 at 9:06

Attachments:

GoogleCodeExporter commented 9 years ago
Well the OSD is drawn by mplayer. looks like they got the wrong character/icon 
on
there. Does the problem happen when the OSD is not enabled?

I installed fluxbox and confirmed your problem. What is happening is that when 
the
cursor is over the mplayer video (this is the mplayer window) the keypress is 
being
sent to mplayer in addition to gnome-mplayer. I believe this is a bug in the 
fluxbox
window manager since it should not pass the key directly to the embedded 
application.

If your cursor is over the gnome-mplayer control bar or menu bar then everything
works perfectly, you can also double click on the video to pause it. So I 
believe the
mouse callbacks are working correctly since they are being passed to and 
handled by
gnome-mplayer.

Original comment by kdeko...@gmail.com on 22 May 2009 at 1:04

GoogleCodeExporter commented 9 years ago
The OSD is working perfectly when I am using directly mplayer.
Regarding the keypress ( pause /unpause etc.) I too beleve it's a fluxbox 
issue, 
because as long as the mouse is over a gnome-mplayer control ( window border , 
menu, 
controls, tracker) it works without a problem

Original comment by veliko...@tiscali.co.uk on 26 May 2009 at 12:52

GoogleCodeExporter commented 9 years ago
Closing bug, since it appears to be a window manager issue

Original comment by kdeko...@gmail.com on 29 May 2009 at 3:51