[Bug 658659] qtmux: Fix ctts entries for streams that don't start with timestamps from 0

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 12 03:37:54 PDT 2011

  GStreamer | gst-plugins-good | git

Thiago Sousa Santos <thiago.sousa.santos> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2011-09-12 10:37:49 UTC ---

commit 261d11a6d7392f9231a4f32193d845ec26246581
Author: Thiago Santos <thiago.sousa.santos at collabora.co.uk>
Date:   Fri Sep 9 09:12:56 2011 -0300

    qtmux: Fix ctts generation for streams that don't start at 0 timestamps

    Subtract the first timestamp of a stream from all input buffers to
    get 0-based timestamps for creating a sane ctts table. Without this
    patch the ctts could have larger values than needed, causing the
    playback to have a delay at startup.

    As the first timestamp is only found after a few buffers are queued
    (due to possible reordered buffers), once we find the first timestamp
    we subtract it from all buffers on the queue, from that point on,
    all buffers have their timestamps subtract when they are collected.


Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gstreamer-bugs mailing list