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 766362 - avvidec: Report the latency once we're fully configured
avvidec: Report the latency once we're fully configured
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
unspecified
Other All
: Normal normal
: 1.8.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-13 07:52 UTC by Edward Hervey
Modified: 2016-05-13 09:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
avvidec: Report the latency once we're fully configured (1.52 KB, patch)
2016-05-13 07:52 UTC, Edward Hervey
committed Details | Review

Description Edward Hervey 2016-05-13 07:52:27 UTC
See commit
Comment 1 Edward Hervey 2016-05-13 07:52:43 UTC
Created attachment 327756 [details] [review]
avvidec: Report the latency once we're fully configured

Several decoders will only be able to report a real latency (has_b_frames)
once they're actually initialized (i.e. when they return their first frame).

Doing it earlier (in set_format) doesn't guarantee that the AVCodecContext
has_b_frames has been properly initialized.
Comment 2 Edward Hervey 2016-05-13 09:22:51 UTC
commit 878d32ad38751222c6d731706f8b3cc8930c9d1c
Author: Edward Hervey <edward@centricular.com>
Date:   Thu May 12 11:09:13 2016 +0200

    avvidec: Report the latency once we're fully configured
    
    Several decoders will only be able to report a real latency (has_b_frames)
    once they're actually initialized (i.e. when they return their first frame).
    
    Doing it earlier (in set_format) doesn't guarantee that the AVCodecContext
    has_b_frames has been properly initialized.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=766362