mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
av1parse: Remove duplicated check
The case of both strings being empty is already checked in the helper function. No functional changes. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1837>
This commit is contained in:
parent
57c2adeeb2
commit
f627d6aafc
1 changed files with 1 additions and 2 deletions
|
@ -608,8 +608,7 @@ gst_av1_parse_alignment_from_caps (GstCaps * caps)
|
|||
str_align = gst_structure_get_string (s, "alignment");
|
||||
str_stream = gst_structure_get_string (s, "stream-format");
|
||||
|
||||
if (str_align || str_stream)
|
||||
align = gst_av1_parse_alignment_from_string (str_align, str_stream);
|
||||
align = gst_av1_parse_alignment_from_string (str_align, str_stream);
|
||||
}
|
||||
|
||||
return align;
|
||||
|
|
Loading…
Reference in a new issue