GNOME Bugzilla – Bug 730075
avviddec: QoS handling causes decoding artefacts
Last modified: 2014-05-16 12:01:33 UTC
Created attachment 276471 [details] [review] fixes the reported issue gst_video_decoder_get_max_decding_time doesn't return a GstClockTime but a GstClockTimeDiff, and thus one needs to compare it against G_MAXINT_64. The returning of a boolean and the extra subsequent code in _video_frame was uselessly complicated.
Created attachment 276526 [details] [review] Update commit message to mention artefacts. To see the artefacts, one needs to playback full HD h264 streams on a busy / slow CPU machine. They are accompanied with "decode_slice_header errors" in the terminal.
commit 7bb4f93de905d3b1c3ffa4d3dd3aff73cde0ff1f Author: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> Date: Tue May 13 20:17:17 2014 +0200 gstavviddec: Sanitize and fix qos handling. gst_video_decoder_get_max_decding_time doesn't return a GstClockTime but a GstClockTimeDiff, and thus one needs to compare it against G_MAXINT_64. The returning of a boolean and the extra subsequent code in _video_frame was uselessly complicated. The previous behaviour led to artefacts when the decoder tried to hurry up. https://bugzilla.gnome.org/show_bug.cgi?id=730075