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 759534 - dashdemux: clock compensation is not correctly used in get_fragment_waiting_time
dashdemux: clock compensation is not correctly used in get_fragment_waiting_time
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-12-16 10:24 UTC by Florin Apostol
Modified: 2015-12-16 10:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (1.06 KB, patch)
2015-12-16 10:26 UTC, Florin Apostol
committed Details | Review

Description Florin Apostol 2015-12-16 10:24:00 UTC
gst_dash_demux_get_clock_compensation returns a value in usec but is added to a GstClockTime in gst_dash_demux_stream_get_fragment_waiting_time. The result should be scaled with GST_USECOND
Comment 1 Florin Apostol 2015-12-16 10:26:22 UTC
Created attachment 317490 [details] [review]
proposed patch
Comment 2 Sebastian Dröge (slomo) 2015-12-16 10:37:45 UTC
commit 7c1b511e96d900fb786101cdba5a58792454d691
Author: Florin Apostol <florin.apostol@oregan.net>
Date:   Wed Dec 16 10:23:23 2015 +0000

    adaptivedemux: fixed clock compensation in get_fragment_waiting_time
    
    Clock compensation is calculated in usec but is added to a GstClockTime value.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=759534