diff options
author | Stéphane Cerveau <scerveau@collabora.com> | 2021-03-10 13:10:28 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-03-11 14:59:10 +0000 |
commit | f6c7b8cb2283d4d03e2a35b162f253fca4e2e59a (patch) | |
tree | 47767aa681f3c15d31324410ba7154bf3f21fd85 | |
parent | 213f08443f247ddeb15f3176fc27e1e7ecfe7d69 (diff) | |
download | gstreamer-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.c | 3 |
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; |