Opened 13 years ago

Closed 13 years ago

Last modified 13 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: Analyzed by developer:

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 13 years ago.
Disable parsing as octal values, always try decimal first

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by reimar

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.

Changed 13 years ago by reimar

Disable parsing as octal values, always try decimal first

comment:2 Changed 13 years ago by reimar

comment:3 Changed 13 years ago by reimar

  • Owner changed from alex@… to Reimar.Doeffinger@…
  • Status changed from new to assigned

comment:4 Changed 13 years ago by reimar

  • Resolution set to fixed
  • Status changed from assigned to closed

Patch applied.

Note: See TracTickets for help on using tickets.