GNOME Bugzilla – Bug 339041
qtdemux : Floating point exception
Last modified: 2006-05-03 21:58:22 UTC
trying to open http://nujus.net/gh/rantapod/rantapod_018_ref.mov i get a Fixedpoint exception in qtdemux. looking at the code its stream->samples_per_frame * stream->bytes_per_frame beeing 0. attached is a patch that checks for 0, not sure if the file works that way, since this file has a so far unknown header of qdrw, Apple Quick Draw, the patch also adds this to the list and sets video/x-qdrw. i will also file a patch against gst-ffmpeg to enable the qdrv decoder.
Created attachment 63876 [details] [review] check for 0 and add qtdrw
the real problem for the floating point error is that a video track should nt be treated as an audio track when collecting the samples. Following commit fixes the floating point error and adds the qtdrw mime-type. Patch by: j^ <j at bootlab dot org> * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak), (qtdemux_video_caps): Never treat video streams as an audio stream. Add qtdrw mime type. Fixes #339041