mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
mpeg2dec: copy buffer flags when cropping
When we crop a buffer, copy the flags as well.
This commit is contained in:
parent
5bc6b54185
commit
f0b0ffa1cf
1 changed files with 3 additions and 0 deletions
|
@ -365,6 +365,9 @@ gst_mpeg2dec_crop_buffer (GstMpeg2dec * dec, GstVideoCodecFrame * in_frame,
|
|||
|
||||
gst_video_frame_unmap (&output_frame);
|
||||
|
||||
GST_BUFFER_FLAGS (in_frame->output_buffer) =
|
||||
GST_BUFFER_FLAGS (input_vframe->buffer);
|
||||
|
||||
beach:
|
||||
gst_video_codec_state_unref (state);
|
||||
|
||||
|
|
Loading…
Reference in a new issue