Bug 576

Summary: smplayer don`t correct fuction pause
Product: Fedora Reporter: Martin Naď <martin.nad89>
Component: smplayerAssignee: Sebastian Vahl <fedora>
Status: RESOLVED FIXED    
Severity: minor CC: cepreu.mail, LuHe, mateuszkj, mschmidt, sergio
Priority: P5    
Version: 14   
Hardware: x86_64   
OS: GNU/Linux   
namespace:
Bug Depends on: 577    
Bug Blocks:    

Description Martin Naď 2009-04-26 19:30:37 CEST
I play film in smplayer paused and play smplayer stop playing in 5s
Comment 1 Martin Naď 2009-04-26 20:13:19 CEST
(In reply to comment #0)
> I play film in smplayer paused and play smplayer stop playing in 5s
> 

Version-Release number of selected component (if applicable):
smplayer-0.6.7-1.fc11.x86_64
mplayer-1.0-0.109.20090329svn.fc11.x86_64

Comment 2 Martin Naď 2009-04-26 20:18:17 CEST
I hit to space to console:
Debug: BaseGui::displayState: Playing
Debug: Core::changeCurrentSec: mplayer reports that now it's playing
Debug: BaseGui::checkStayOnTop
Debug: Core::pause
Debug: Core::pause: current state: Playing
Debug: Core::tellmp: 'pause'
Debug: MplayerProcess::parseLine: 'Invalid command for bound key SPACE : pausing_keep invalid_command   '
Debug: MplayerProcess::parseLine: ''
Debug: MplayerProcess::parseLine: '  =====  PAUSE  ====='
Debug: MplayerProcess::parseLine: 'ID_PAUSED'
Debug: Core::changePause
Debug: Core::changePause: mplayer reports that it's paused
Debug: BaseGui::displayState: Paused
Debug: BaseGui::checkStayOnTop
Debug: Core::pause
Debug: Core::pause: current state: Paused
Debug: Core::tellmp: 'pause'
Debug: MplayerProcess::parseLine: 'Invalid command for bound key SPACE : pausing_keep invalid_command   '
Debug: BaseGui::displayState: Playing
Debug: Core::changeCurrentSec: mplayer reports that now it's playing
Debug: BaseGui::checkStayOnTop

mplayer play for 5s and pause
Comment 3 Martin Naď 2009-04-26 21:12:14 CEST
SMplayer couldn`t identify the Mplayer version
Comment 4 Sebastian Vahl 2009-04-26 23:05:48 CEST
I see the version popup, too. 

There seems to be know way to tell smplayer the mplayer version in the compiling process. So I've taken this upstream: https://sourceforge.net/tracker/?func=detail&aid=2781800&group_id=185512&atid=913573

For the pause issue: I have problems to understand what you mean exactly. Could you please try to clarify your problem a bit?
Comment 5 Sebastian Vahl 2009-04-27 00:10:08 CEST
Mhh. This shouldn't be marked as fixed.
Comment 6 Martin Naď 2009-04-27 08:10:09 CEST
My problem is that that when a film pause and after a while again run smplayer plays a few seconds and then stops so I try to pause and play (2x hit space) to exclude don`t caught buffer. happening to me yet only with *. avi


sorry but my knowledge of English is very weak, and has the ability to describe something too
Comment 7 Michal Schmidt 2009-04-27 15:18:35 CEST
NSatan tried to explain the problem to me in his native language. My understanding of his problem is this:

smplayer plays fine as long as he does not press anything.
Then he wants to have a break, so he presses space to pause the movie. It pauses just fine.
Later when he wants to resume the playback, he presses space once again.
The movie resumes playing for only a few seconds and then unexpectedly pauses all by itself. Pressing space twice makes it continue for another few seconds, then it unexpectedly pauses again...

And mplayer itself works fine for NSatan, it's only smplayer that's having this problem.
Comment 8 Sebastian Vahl 2009-04-28 16:54:54 CEST
@Michal Schmidt: Thanks!

@NSatan@seznam.cz: Confirmed, too. I'll need some time to look into it or take it upstream.
Comment 9 Lukas Hetzenecker 2009-06-28 23:05:43 CEST
Hello,

i can confirm this issue, it happened to me on two different PCs.
I am willing to test a patch if there's one available.

lukas@laptop ~  $  rpm -q smplayer mplayer
smplayer-0.6.7-1.fc11.x86_64
mplayer-1.0-0.109.20090329svn.fc11.x86_64
Comment 10 Mateusz Kondej 2009-06-30 16:10:20 CEST
The problem has been solved:
http://sourceforge.net/tracker/?func=detail&aid=2723981&group_id=185512&atid=913573 

Just need to update smplayer.
Comment 11 Sebastian Vahl 2009-07-29 09:44:48 CEST
Sorry for the delay but I wanted to wait for a new release and not updating to a svn version. Please try out these builds of smplayer-0.6.8:

http://deadbabylon.de/fedora/test/smplayer-0.6.8-1.fc11.i586.rpm

or

http://deadbabylon.de/fedora/test/smplayer-0.6.8-1.fc11.x86_64.rpm
Comment 12 Martin Naď 2009-08-02 21:16:07 CEST
smplayer-0.6.8-1.fc11.x86_64.rpm stills this problem , stills show "SMplayer couldn`t identify the Mplayer version". I check if this is problem only by me
Comment 13 Martin Naď 2009-08-02 21:30:03 CEST
sorry is my problem ( https://bugzilla.redhat.com/show_bug.cgi?id=497198 )
Comment 14 Sebastian Vahl 2009-08-11 09:39:52 CEST
> stills show "SMplayer couldn`t identify the Mplayer version"

That's because mplayer still identifies itself wrong: bug #577
Comment 15 Sebastian Vahl 2009-08-11 09:51:13 CEST
*** Bug 753 has been marked as a duplicate of this bug. ***
Comment 16 Cepreu 2009-08-21 05:37:40 CEST
(In reply to comment #0)
> I play film in smplayer paused and play smplayer stop playing in 5s
> 

(In reply to comment #11)
> Sorry for the delay but I wanted to wait for a new release and not updating to
> a svn version. Please try out these builds of smplayer-0.6.8:
> 
> http://deadbabylon.de/fedora/test/smplayer-0.6.8-1.fc11.i586.rpm
> 
> or
> 
> http://deadbabylon.de/fedora/test/smplayer-0.6.8-1.fc11.x86_64.rpm
> 

Installation of this rpm (i586 version) does not solve problem for me. Pause still work incorrect.
Comment 17 Cepreu 2009-08-21 07:33:32 CEST
Found workaround for this bug. If i use for audio output "pulse", pause work normally.
Comment 18 Sebastian Vahl 2009-08-24 22:17:24 CEST
(In reply to comment #17)
> Found workaround for this bug. If i use for audio output "pulse", pause work
> normally.
> 

I assume you are always using pulseaudio (with alsa-plugins-pulseaudio for the default alsa output)?

Seems to work here too.

Martin, can you also please try to change the audio output to "pulse" (in Options -> Preferences -> General -> Audio -> Output driver).

Comment 19 Sebastian Vahl 2009-08-24 22:18:56 CEST
(In reply to comment #18)

> Martin, can you also please try to change the audio output to "pulse" (in
> Options -> Preferences -> General -> Audio -> Output driver).

Oh, and please update to smplayer-0.6.8 before trying.

Comment 20 Martin Naď 2009-08-24 22:33:53 CEST
I updated smplayer(and kernel to 2.6.30  because of snd_intel8x0)
I dont know how is posible this work on anything audio output(maybe pulse is everywhere).
Comment 21 Martin Naď 2009-08-24 22:36:49 CEST
(In reply to comment #20)
> I updated smplayer(and kernel to 2.6.30  because of snd_intel8x0)
> I dont know how is posible this work on anything audio output(maybe pulse is
> everywhere).
> 

for this time I have not any problem but I dont much test(a few films maybe ten)
Comment 22 Sérgio Basto 2012-03-04 03:17:10 CET
last comment on 2009-08-24 reports, that problem has been fixed.
Closing now