Resume playback doesn't work with some locales
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME MPlayer |
Unknown
|
Unknown
|
|||
gnome-mplayer (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ubuntu release 13.04,
gnome-mplayer version 1.0.8-1 (http://
When watching a video and quitting gnome-mplayer, the next time you open the video it asks you if you want to resume it from the same position. For example, if you watch a video for the first 30 seconds and quit, the next time you open the file with gnome-mplayer it puts up a pop-up asking "Resume playback of <file> at 0:30" pressing yes, nothing happens.
How this works is that gnome-mplayer passes the position of the video to mplayer with the -ss command line argument. The problem is, with LC_NUMERIC set to for example fi_FI.UTF-8 , instead of . is used as a decimal separator, so what happens is:
GMLIB-Message: ERROR: Option ss: invalid time: '30,000000'
GMLIB-Message: MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
GMLIB-Message: ERROR: Error parsing commandline option "-ss": Option parameter could not be parsed
if you change the LC_NUMERIC to en_US.UTF-8 for example, it uses . as a separator and everything works as it is supposed to.
Fixed in gmtk 1.0.8-3