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 595031 - oggdemux: fails to calculate duration on some files
oggdemux: fails to calculate duration on some files
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal blocker
: 0.10.25
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-12 23:00 UTC by David Schleef
Modified: 2010-02-09 10:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (926 bytes, patch)
2009-09-12 23:01 UTC, David Schleef
accepted-commit_now Details | Review

Description David Schleef 2009-09-12 23:00:02 UTC
commit 20a39c87593c58eaa814ba8dff2647a376d52b01
Author: David Schleef <ds@schleef.org>
Date:   Sat Sep 12 15:48:11 2009 -0700

    oggdemux: Fix duration calculation for truncated files
    
    If the last page of a stream has a granulepos of -1, that is,
    it doesn't complete a packet, we need to continue to search
    for the last granulepos.
Comment 1 David Schleef 2009-09-12 23:01:01 UTC
Created attachment 143087 [details] [review]
patch
Comment 2 David Schleef 2009-09-13 17:58:52 UTC
pushed.