h264parse: In-band sps/pps update if only codec_data differs in src caps
authorSeungha Yang <seungha@centricular.com>
Tue, 10 Mar 2020 04:20:17 +0000 (13:20 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 10 Mar 2020 08:51:04 +0000 (08:51 +0000)
commit82a7d1cd993b4f8dcd2211b4a9f28533ee3a7d9a
tree49e6ba11d44393ba961cbf934001b2647a3cff73
parent691b066ec6fb0024bc872206d9750e4a7c241232
h264parse: In-band sps/pps update if only codec_data differs in src caps

Initially the case "only codec_data is different" was addressed in
https://bugzilla.gnome.org/show_bug.cgi?id=705333 in order for
unusual bitstreams to be handled. That's the case where sps and pps
are placed in bitstream. When sps/pps are signalled only via caps
by upstream, however, the updated codec_data is mandatory for decoder
and therefore we shouldn't ignore them.
gst/videoparsers/gsth264parse.c
gst/videoparsers/gsth264parse.h