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 596285 - gstvideomeasure crashes at the end of some streams
gstvideomeasure crashes at the end of some streams
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal critical
: 0.10.15
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-25 08:28 UTC by LRN
Modified: 2009-09-30 16:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Take offset gaps into account (3.36 KB, patch)
2009-09-25 08:28 UTC, LRN
committed Details | Review

Description LRN 2009-09-25 08:28:24 UTC
Created attachment 143968 [details] [review]
Take offset gaps into account

gstvideomeasure crashes at the end of some streams because it assumes that each
element of mc->measurements is non-NULL, but some video streams may have gaps
in frame numbering. While this may lead to scientifically incorrect
calculations, it's better to let the user know about the error and produce
dubious result rather than just crash.
Comment 1 Sebastian Dröge (slomo) 2009-09-30 16:52:11 UTC
commit 2a8e27423d8b9f7e976c638fcdf69cef36c4b608
Author: Руслан Ижбулатов <lrn1986@gmail.com>
Date:   Fri Sep 25 12:20:50 2009 +0400

    Take offset gaps into account.
    
    Prevents measurecollector from crashing when frame numbers are not consecuti
    
    Fixes bug #596285.