Backport of "gstvideoencoder: make sure the buffer is writable before modifying metadata" into 1.18
requested to merge tpm/gst-plugins-base:backport-mr-1112-into-1.18-alatiera-videoencoder-writable into 1.18
Backport of !1112 (merged) "gstvideoencoder: make sure the buffer is writable before modifying metadata".
Commits:
- df88b10c gstvideoencoder: make sure the buffer is writable before modifying metadata