typefindfunctions: differentiate h265 from h264
authorStéphane Cerveau <scerveau@collabora.com>
Thu, 16 Sep 2021 13:18:24 +0000 (15:18 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 2 Oct 2021 10:03:21 +0000 (10:03 +0000)
commit84b357dd5f64a612d5f0f40602379c57c49dc6c9
treea61fabebfb0729f99ee0b83daa7373b4be434492
parent5e08ede8f62326d6804b85da4ccbe4b8ede28ff1
typefindfunctions: differentiate h265 from h264

in some cases, the algo gives the same probability
to h264 and h265 for h26x stream resulting in a h265
stream detected as a h264.
if sps/pps/vps detected, increase the probabilty.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/957>
subprojects/gst-plugins-base/gst/typefind/gsttypefindfunctions.c