mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
encoding-profile: ignore more output caps fields
chroma-format, bit-depth-chroma, bit-depth-luma are all informative fields set by the H265 and H265 parser upon receiving an SPS. They shouldn't be constrained downstream of the parser, instead if a user wants those to ultimately match certain values they should do so by constraining a profile. In this case however, we also always remove the profile constraint in order to let encoders pick a suitable one as a function of the raw input video format and their own capabilities. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1549>
This commit is contained in:
parent
bc065d2cc2
commit
0f85a46148
1 changed files with 1 additions and 1 deletions
|
@ -2193,7 +2193,7 @@ create_stream_profile_recurse (GstEncodingProfile * toplevel,
|
|||
|
||||
gst_structure_remove_fields (s, "codec_data", "streamheader", "parsed",
|
||||
"colorimetry", "framed", "stream-format", "alignment", "tier", "level",
|
||||
"profile", NULL);
|
||||
"profile", "chroma-format", "bit-depth-luma", "bit-depth-chroma", NULL);
|
||||
|
||||
GST_LOG ("Stream: %" GST_PTR_FORMAT, caps);
|
||||
if (GST_IS_DISCOVERER_AUDIO_INFO (sinfo)) {
|
||||
|
|
Loading…
Reference in a new issue