mpegvideoparse: do not clip the frame
authorStéphane Cerveau <scerveau@collabora.com>
Wed, 10 Mar 2021 12:10:28 +0000 (13:10 +0100)
committerStéphane Cerveau <scerveau@collabora.com>
Thu, 11 Mar 2021 14:01:38 +0000 (15:01 +0100)
commitb0a9ba4ccf3893f0df8904cf2a26348c4c1ed0ad
tree789310e9b1ce9d97abd217a03cb3d56189531e62
parentcdce27d97535d9babca8a9dc34789e847a5bd4bb
mpegvideoparse: do not clip the frame

If the current buffer is delta unit such as P or B
frame, the buffer should not be clipped and need to
let the decoder handle the segment boundary situation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2070>
gst/videoparsers/gstmpegvideoparse.c