mpeg4videoparse: ensure buffer metadata is writable before modifying it
https://bugzilla.gnome.org/show_bug.cgi?id=637824
This commit is contained in:
parent
bcb8eab616
commit
e29a1073b1
@ -502,6 +502,7 @@ gst_mpeg4vparse_push (GstMpeg4VParse * parse, gsize size)
|
||||
GstBuffer *out_buf;
|
||||
|
||||
out_buf = gst_adapter_take_buffer (parse->adapter, parse->offset);
|
||||
out_buf = gst_buffer_make_metadata_writable (out_buf);
|
||||
GST_BUFFER_TIMESTAMP (out_buf) = parse->timestamp;
|
||||
|
||||
if (G_LIKELY (out_buf)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user