Resume playback doesn't work with some locales

Bug #1182874 reported by kai
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-mplayer (Ubuntu)
Fix Released

Bug Description

Ubuntu release 13.04,
gnome-mplayer version 1.0.8-1 ( raring/universe amd64 Packages)

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.

Related branches

Revision history for this message
Sebastian Ramacher (s-ramacher) wrote :

Fixed in gmtk 1.0.8-3

Changed in gnome-mplayer (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.