-
Tim-Philipp Müller authored
This was putting a truncated SPS into the initial header instead of the PPS because it was always reading from the beginning of the bitstream buffer (pBsBuf) and not from the offset where the current NAL is at in the bitstream buffer (psBsBuf + nal_offset). This was broken in commit 17113695. Fixes gstreamer/gst-plugins-bad#1576 Part-of: <gstreamer/gst-plugins-bad!2478>
5ff895d3