GNOME Bugzilla – Bug 749834
rtph264depay: Should parse the PPS/SPS to expose width/height
Last modified: 2018-05-01 09:39:58 UTC
Many AVC decoders, like vtdec, required the width and height field in the caps. Currently, in RTP pipeline, we are force to add h264parse element in order to gain these field. In the idea that a parser should not generally be needed after the depayloader, we should consider parsing the PPS/SPS in order to extract the width and height field. While doing so, we could complete the caps base on the known field required by downstream (e.g. like setting the profile).
The h264parse (which you should have before the decoder) will parse and set that.