[haiku-bugs] Re: [Haiku] #16600: Very Short WAV files crash MediaPlayer (divide error)

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 30 Nov 2020 20:29:01 -0000

#16600: Very Short WAV files crash MediaPlayer (divide error)
---------------------------------------+----------------------------
  Reporter:  humdinger                 |      Owner:  stippi
      Type:  bug                       |     Status:  new
  Priority:  normal                    |  Milestone:  Unscheduled
 Component:  Applications/MediaPlayer  |    Version:  R1/Development
Resolution:                            |   Keywords:
Blocked By:                            |   Blocking:  13352
  Platform:  All                       |
---------------------------------------+----------------------------
Comment (by madmax):

 For reference: [https://git.haiku-
 os.org/haiku/tree/src/apps/mediaplayer/Controller.cpp#n1104
 Controller::_FrameDuration]: "Here for example, it will return a duration
 of 0 if the audio clip happens to be shorter than one video frame at 25
 fps", and that's used as divisor in some places, like _TimePosition in
 your crash.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16600#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: