codecparsersbad: Accept lcevc=false sink caps

This is needed if the LCEVC enhancement data is part of the video stream as SEI
and the demuxer outputs 'lcevc=false' src caps because LCEVC enhancement data is
not stored as a separate stream in the container.

To clarify, 'lcevc=true' just means that the video buffers have LCEVC metadata
attached. Therefore, it is valid to have a stream with LCEVC enhancement data as
SEI with 'lcevc=false' as long as it is not attached as metadata.

This will be needed once we add support for the demuxer to attach LCEVC metadata
to video buffers if it is stored in a separate track.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9427>
This commit is contained in:
Julian Bouzas 2025-07-22 10:47:20 -04:00 committed by GStreamer Marge Bot
parent 08db7b9497
commit 98d3228fc2
3 changed files with 3 additions and 0 deletions

View File

@ -3908,6 +3908,7 @@ remove_fields (GstCaps * caps, gboolean all)
gst_structure_remove_field (s, "stream-format");
}
gst_structure_remove_field (s, "parsed");
gst_structure_remove_field (s, "lcevc");
}
}

View File

@ -3439,6 +3439,7 @@ remove_fields (GstCaps * caps, gboolean all)
gst_structure_remove_field (s, "stream-format");
}
gst_structure_remove_field (s, "parsed");
gst_structure_remove_field (s, "lcevc");
}
}

View File

@ -3287,6 +3287,7 @@ remove_fields (GstCaps * caps, gboolean all)
gst_structure_remove_field (s, "stream-format");
}
gst_structure_remove_field (s, "parsed");
gst_structure_remove_field (s, "lcevc");
}
}