After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726106 - matroskademux: does not handle fps lower than 1
matroskademux: does not handle fps lower than 1
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-11 14:04 UTC by Per Johansson
Modified: 2014-03-12 08:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Suggested fix. (1.12 KB, patch)
2014-03-11 14:04 UTC, Per Johansson
committed Details | Review

Description Per Johansson 2014-03-11 14:04:12 UTC
Created attachment 271522 [details] [review]
Suggested fix.

When matroskademux is used with a file with an fps lower than 1 it asserts. The assert is caused by gst_duration_to_fraction calling gst_util_uint64_scale_int with a denominator of 0.
Comment 1 Sebastian Dröge (slomo) 2014-03-12 08:09:00 UTC
commit 2a362c6fb1dc4b734af57d060cd7d612b6237f91
Author: Per x Johansson <perxjoh@axis.com>
Date:   Tue Mar 11 14:56:30 2014 +0100

    matroskademux: fix assert on fps lower than 1
    
    Fixes assert caused by gst_duration_to_fraction calling
    gst_util_uint64_scale_int with a denominator of 0 when fps is less
    than 1.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=726106