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 733291 - typefindelement: Propagate input buffer PTS and DTS
typefindelement: Propagate input buffer PTS and DTS
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
unspecified
Other All
: Normal normal
: 1.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-07-17 05:17 UTC by Edward Hervey
Modified: 2014-07-17 07:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
typefindelement: Propagate input buffer PTS and DTS (1.41 KB, patch)
2014-07-17 05:17 UTC, Edward Hervey
committed Details | Review

Description Edward Hervey 2014-07-17 05:17:37 UTC
If you are using a source that timestamps its output, but doesn't know its type
yet, typefind will discard the timestamp of those initial buffers.
Comment 1 Edward Hervey 2014-07-17 05:17:39 UTC
Created attachment 280916 [details] [review]
typefindelement: Propagate input buffer PTS and DTS

The initial buffers (that were used for timestamping) might have PTS
and DTS set. In order to forward those properly, get the initial
PTS/DTS from the adapter and set them on the reconstructed output
buffer.
Comment 2 Edward Hervey 2014-07-17 07:49:50 UTC
commit f1abac1109a14049fa9dab21eeaddc23dcb9fd22
Author: Edward Hervey <edward@collabora.com>
Date:   Thu Jul 17 07:07:36 2014 +0200

    typefindelement: Propagate input buffer PTS and DTS
    
    The initial buffers (that were used for timestamping) might have PTS
    and DTS set. In order to forward those properly, get the initial
    PTS/DTS from the adapter and set them on the reconstructed output
    buffer.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733291