diff options
author | He Junyan <junyan.he@intel.com> | 2021-06-05 21:59:50 +0800 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-06-10 12:36:34 +0000 |
commit | 2db3ce32efaa5c5a1935402632c5b223672a4b40 (patch) | |
tree | 3e50ee650f872477e34fc0ca36f43b6db18eebee /sys/msdk/gstmsdkenc.c | |
parent | a1350852e77c444ccec3ef0fb64ee1bedcf69b63 (diff) | |
download | gstreamer-plugins-bad-2db3ce32efaa5c5a1935402632c5b223672a4b40.tar.gz |
codecs: Fix the H265 poc out of order warning.
We always get a warning such as:
h265decoder gsth265decoder.c:1432:gst_h265_decoder_do_output_picture: \
<vah265dec0> Outputting out of order 255 -> 0, likely a broken stream
in H265 decoder.
The problem is caused because we fail to reset the last_output_poc when
we get IDR and BLA. The incoming IDR and BLA frame already bump all the
frames in the DPB, but we forget to reset the last_output_poc, which
make the POC out of order and generate the warning all the time.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2294>
Diffstat (limited to 'sys/msdk/gstmsdkenc.c')
0 files changed, 0 insertions, 0 deletions