diff options
author | Stéphane Cerveau <scerveau@collabora.com> | 2021-03-10 13:10:28 +0100 |
---|---|---|
committer | Stéphane Cerveau <scerveau@collabora.com> | 2021-03-11 15:01:38 +0100 |
commit | b0a9ba4ccf3893f0df8904cf2a26348c4c1ed0ad (patch) | |
tree | 789310e9b1ce9d97abd217a03cb3d56189531e62 /gst | |
parent | cdce27d97535d9babca8a9dc34789e847a5bd4bb (diff) | |
download | gstreamer-plugins-bad-b0a9ba4ccf3893f0df8904cf2a26348c4c1ed0ad.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>
Diffstat (limited to 'gst')
-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; |