GNOME Bugzilla – Bug 766362
avvidec: Report the latency once we're fully configured
Last modified: 2016-05-13 09:59:38 UTC
See commit
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.
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