mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
(Missed plugins/elements/gstcapsfilter.c in previous commit)
Original commit message from CVS: (Missed plugins/elements/gstcapsfilter.c in previous commit) Reviewed By: Andy Wingo * gst/gstbuffer.c: (gst_buffer_is_metadata_writable), (gst_buffer_make_metadata_writable): * gst/gstbuffer.h: Add gst_buffer_(is|make)_metadata_writable as analogues of gst_buffer_(is|make)_writable. * libs/gst/base/gstbasetransform.c: (gst_base_transform_prepare_output_buf): * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf): Use name gst_buffer_(is|make)_metadata_writable functions. * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite): Test gst_buffer_(is|make)_metadata_writable (Closes: #324162)
This commit is contained in:
parent
c7506c8b0a
commit
e44a99a878
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ gst_capsfilter_prepare_buf (GstBaseTransform * trans, GstBuffer * input,
|
|||
if (gst_caps_is_fixed (out_caps) && !gst_caps_is_empty (out_caps)) {
|
||||
GST_DEBUG_OBJECT (trans, "Have fixed output caps %"
|
||||
GST_PTR_FORMAT " to apply to buffer with no caps", out_caps);
|
||||
if (gst_buffer_is_writable (input)) {
|
||||
if (gst_buffer_is_metadata_writable (input)) {
|
||||
gst_buffer_ref (input);
|
||||
*buf = input;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue