mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
h264parse: fix copying of data and UUID
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1458>
This commit is contained in:
parent
ca2eb9f65f
commit
9a2ce2683b
1 changed files with 2 additions and 1 deletions
|
@ -177,7 +177,8 @@ gst_buffer_add_video_sei_user_data_unregistered_meta (GstBuffer * buffer,
|
|||
meta = (GstVideoSEIUserDataUnregisteredMeta *) gst_buffer_add_meta (buffer,
|
||||
GST_VIDEO_SEI_USER_DATA_UNREGISTERED_META_INFO, NULL);
|
||||
g_assert (meta != NULL);
|
||||
|
||||
memcpy (meta->uuid, uuid, 16);
|
||||
meta->data = g_malloc (size);
|
||||
memcpy (meta->data, data, size);
|
||||
meta->size = size;
|
||||
|
||||
|
|
Loading…
Reference in a new issue