[PATCH v2 1/3] winegstreamer: Ignore unset H264 format profile and level.
Rémi Bernon
rbernon at codeweavers.com
Wed Apr 27 13:41:24 CDT 2022
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
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;
}
--
2.35.1
More information about the wine-devel
mailing list