• Jean Felder's avatar
    gstplayer: Correctly emit "seek-finished" signal · 920a2b81
    Jean Felder authored
    commit 2fa4b631 introduced a
    "seek-finished" signal by listening to the reset-time message. The
    problem with this approach lies in the fact that the seek operation is
    not finished. Thus, the position has not been updated yet and returns
    an undefined value.
    
    Fix the issue by moving the signal emission in "_on_async_done"
    method. Indeed, an async-done message is sent once the seek operation
    is finished. A flag is set when requesting a seek operation to avoid
    sending a "seek-finished" signal when an other async operation has
    been performed.
    920a2b81
Name
Last commit
Last update
..
views Loading commit data...
widgets Loading commit data...
__init__.py Loading commit data...
albumartcache.py Loading commit data...
application.py Loading commit data...
grilo.py Loading commit data...
gstplayer.py Loading commit data...
inhibitsuspend.py Loading commit data...
mediakeys.py Loading commit data...
mpris.py Loading commit data...
pauseonsuspend.py Loading commit data...
player.py Loading commit data...
playlists.py Loading commit data...
query.py Loading commit data...
scrobbler.py Loading commit data...
search.py Loading commit data...
trackerwrapper.py Loading commit data...
utils.py Loading commit data...
window.py Loading commit data...
windowplacement.py Loading commit data...