Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#445 closed defect (fixed)

wrong dvd:// url parsing

Reported by: pud@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: minor
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

when i try to play dvd://08 mplayer says:

Playing dvd://08.
The hostname option must be an integer: 08
Struct dvd, field hostname parsing error: 08

instead of track 8 it plays track 1

the dvd has 16 tracks and i'm using a sequence
of 01...16 with leading zeroes within a script...

the same error occurs with "09", but not with 01..07

Attachments (1)

no_octal.diff (433 bytes ) - added by reimar 18 years ago.
Disable parsing as octal values, always try decimal first

Download all attachments as: .zip

Change History (5)

comment:1 by reimar, 18 years ago

If it starts with 0 it is interpreted as an octal number (that's why it works
for 01 tp 07). Probably this kind of parsing doesn't make sense though.

by reimar, 18 years ago

Attachment: no_octal.diff added

Disable parsing as octal values, always try decimal first

comment:2 by reimar, 18 years ago

comment:3 by reimar, 18 years ago

Owner: changed from alex@… to Reimar.Doeffinger@…
Status: newassigned

comment:4 by reimar, 18 years ago

Resolution: fixed
Status: assignedclosed

Patch applied.

Note: See TracTickets for help on using tickets.