h264parse: Validate VUI framerate
authorSeungha Yang <seungha@centricular.com>
Tue, 7 Mar 2023 14:46:50 +0000 (23:46 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 8 Mar 2023 15:43:25 +0000 (15:43 +0000)
commitc88dd17df764679e837ab68e8065c86f53858bfb
tree3a1b887d3756d86325e3501059b1175bdd60ef98
parent7e2aec1219329e85f01f1d843ee326462108acaa
h264parse: Validate VUI framerate

A few streams contain invalid/wrong framerate in VUI. Do validate
it based on the spec and ignore invalid VUI framerate values.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1753
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4131>
subprojects/gst-plugins-bad/gst/videoparsers/gsth264parse.c
subprojects/gst-plugins-bad/gst/videoparsers/gsth264parse.h