summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2021-03-10 13:10:28 +0100
committerTim-Philipp Müller <tim@centricular.com>2021-03-11 14:59:10 +0000
commitf6c7b8cb2283d4d03e2a35b162f253fca4e2e59a (patch)
tree47767aa681f3c15d31324410ba7154bf3f21fd85
parent213f08443f247ddeb15f3176fc27e1e7ecfe7d69 (diff)
downloadgstreamer-plugins-bad-f6c7b8cb2283d4d03e2a35b162f253fca4e2e59a.tar.gz
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>
-rw-r--r--gst/videoparsers/gstmpegvideoparse.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gst/videoparsers/gstmpegvideoparse.c b/gst/videoparsers/gstmpegvideoparse.c
index 3a5c3f93b..6e27deec2 100644
--- a/gst/videoparsers/gstmpegvideoparse.c
+++ b/gst/videoparsers/gstmpegvideoparse.c
@@ -999,9 +999,6 @@ gst_mpegv_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
mpvparse->send_codec_tag = FALSE;
}
- /* usual clipping applies */
- frame->flags |= GST_BASE_PARSE_FRAME_FLAG_CLIP;
-
if (mpvparse->send_mpeg_meta) {
GstBuffer *buf;