summaryrefslogtreecommitdiff
path: root/gst-libs/gst/codecs/gsth264picture.c
diff options
context:
space:
mode:
authorHe Junyan <junyan.he@intel.com>2021-08-31 16:39:06 +0800
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-09-15 13:20:28 +0000
commit5c73725c9bf2a6aee3661b7b58fb3fbd537e355b (patch)
treea20832a6b632981e618f379e1fafb2f40cab5f8c /gst-libs/gst/codecs/gsth264picture.c
parent8b1634930fec18b37332e2bc858328eaf4c186ca (diff)
downloadgstreamer-plugins-bad-5c73725c9bf2a6aee3661b7b58fb3fbd537e355b.tar.gz
codecs: h264dec: Improve the policy to infer max_num_reorder_frames.
The max_num_reorder_frames number can change the way we bumping the pictures in the DPB. The smaller it is, the lower latency we will get. So it is important for live mode streams, but it is not given in VUI parameters sometimes. We now improve the policy to infer it: 1. Never guess it in the "strict" compliance. 2. For baseline and constrained baseline profiles, which do not have B frames, set it to 0. 3. For -intra only profiles, set it to 0. 4. Otherwise, not guess it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2501>
Diffstat (limited to 'gst-libs/gst/codecs/gsth264picture.c')
0 files changed, 0 insertions, 0 deletions