mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
h264parse: Fix content light level value changes
Same as for H265, was found by Coverity.
This commit is contained in:
parent
84a58b3633
commit
eea520fe6d
1 changed files with 2 additions and 2 deletions
|
@ -892,8 +892,8 @@ gst_h264_parse_process_sei (GstH264Parse * h264parse, GstH264NalUnit * nalu)
|
|||
if (h264parse->content_light_level_state == GST_H264_PARSE_SEI_EXPIRED) {
|
||||
h264parse->update_caps = TRUE;
|
||||
} else if (cll.max_content_light_level !=
|
||||
h264parse->content_light_level.max_frame_average_light_level ||
|
||||
cll.max_content_light_level !=
|
||||
h264parse->content_light_level.max_content_light_level ||
|
||||
cll.max_frame_average_light_level !=
|
||||
h264parse->content_light_level.max_frame_average_light_level) {
|
||||
h264parse->update_caps = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue