Seungha Yang 2024-05-01 00:12:42 +09:00 committed by GStreamer Marge Bot
parent ec42cedf63
commit e6b9a45bfe
2 changed files with 2 additions and 2 deletions

View file

@ -403,7 +403,7 @@ gst_qsv_h264_dec_process_input (GstQsvDecoder * decoder,
memcpy (data + sizeof (start_code), nalu.data + nalu.offset, nalu.size);
mem = gst_memory_new_wrapped ((GstMemoryFlags) 0, data, size, 0, size,
nullptr, (GDestroyNotify) g_free);
data, (GDestroyNotify) g_free);
gst_buffer_append_memory (new_buf, mem);
} while (pres == GST_H264_PARSER_OK);

View file

@ -421,7 +421,7 @@ gst_qsv_h265_dec_process_input (GstQsvDecoder * decoder,
memcpy (data + sizeof (start_code), nalu.data + nalu.offset, nalu.size);
mem = gst_memory_new_wrapped ((GstMemoryFlags) 0, data, size, 0, size,
nullptr, (GDestroyNotify) g_free);
data, (GDestroyNotify) g_free);
gst_buffer_append_memory (new_buf, mem);
} while (pres == GST_H265_PARSER_OK);