mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
gstbuffer: copy new buffer flags when copying metadata.
This commit is contained in:
parent
605639a2bf
commit
6c1dce01d1
1 changed files with 2 additions and 1 deletions
|
@ -201,7 +201,8 @@ gst_buffer_copy_metadata (GstBuffer * dest, const GstBuffer * src,
|
|||
/* copy relevant flags */
|
||||
mask = GST_BUFFER_FLAG_PREROLL | GST_BUFFER_FLAG_IN_CAPS |
|
||||
GST_BUFFER_FLAG_DELTA_UNIT | GST_BUFFER_FLAG_DISCONT |
|
||||
GST_BUFFER_FLAG_GAP;
|
||||
GST_BUFFER_FLAG_GAP | GST_BUFFER_FLAG_MEDIA1 |
|
||||
GST_BUFFER_FLAG_MEDIA2 | GST_BUFFER_FLAG_MEDIA3;
|
||||
GST_MINI_OBJECT_FLAGS (dest) |= GST_MINI_OBJECT_FLAGS (src) & mask;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue