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 651714 - [ffdec] Fix calculating frame duration from last timestamp and frame count
[ffdec] Fix calculating frame duration from last timestamp and frame count
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other All
: Normal normal
: 0.10.12
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-02 15:35 UTC by Raimo Järvi
Modified: 2011-06-06 12:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix calculating frame duration (859 bytes, patch)
2011-06-02 15:40 UTC, Raimo Järvi
committed Details | Review

Description Raimo Järvi 2011-06-02 15:35:44 UTC
Video frame duration is sometimes calculated incorrectly from last timestamp and frame count, because frame count is reset to zero for every input buffer. It should be set to zero only when the input buffer has a valid timestamp. The following patch fixes this.
Comment 1 Raimo Järvi 2011-06-02 15:40:54 UTC
Created attachment 189089 [details] [review]
Fix calculating frame duration
Comment 2 Sebastian Dröge (slomo) 2011-06-06 12:46:42 UTC
commit 8e2404b8dfe1ed6c4a23573ec01de85604487d3c
Author: Raimo Järvi <raimo.jarvi@gmail.com>
Date:   Thu Jun 2 18:02:38 2011 +0300

    ffdec: Fix calculating frame duration from last timestamp and frame count.
    
    Fixes bug #651714.