Rémi Bernon : winegstreamer: Ignore unset H264 format profile and level.
Alexandre Julliard
julliard at winehq.org
Thu Apr 28 16:15:32 CDT 2022
Module: wine
Branch: master
Commit: 9cc016ecb925d41f3835c07a02e23a5776a77517
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9cc016ecb925d41f3835c07a02e23a5776a77517
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Wed Apr 27 20:41:24 2022 +0200
winegstreamer: Ignore unset H264 format profile and level.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winegstreamer/wg_format.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/winegstreamer/wg_format.c b/dlls/winegstreamer/wg_format.c
index 84163f1e5d7..b22581e7824 100644
--- a/dlls/winegstreamer/wg_format.c
+++ b/dlls/winegstreamer/wg_format.c
@@ -455,6 +455,8 @@ static GstCaps *wg_format_to_caps_h264(const struct wg_format *format)
case eAVEncH264VProfile_444: profile = "high-4:4:4"; break;
default:
GST_FIXME("H264 profile attribute %u not implemented.", format->u.h264.profile);
+ /* fallthrough */
+ case eAVEncH264VProfile_unknown:
profile = NULL;
break;
}
@@ -481,6 +483,8 @@ static GstCaps *wg_format_to_caps_h264(const struct wg_format *format)
case eAVEncH264VLevel5_2: level = "5.2"; break;
default:
GST_FIXME("H264 level attribute %u not implemented.", format->u.h264.level);
+ /* fallthrough */
+ case 0:
level = NULL;
break;
}
More information about the wine-cvs
mailing list