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:
parent
08db7b9497
commit
98d3228fc2
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user