mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
va: caps: Use G_STMT_START / END
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2948>
This commit is contained in:
parent
44fe871534
commit
230e1e6bb4
1 changed files with 2 additions and 2 deletions
|
@ -336,9 +336,9 @@ _add_jpeg_fields (GstVaDisplay * display, GstCaps * caps, VAProfile profile,
|
|||
va_rt_format_list[i]))
|
||||
continue;
|
||||
|
||||
#define APPEND_YUV do { \
|
||||
#define APPEND_YUV G_STMT_START \
|
||||
if (!yuv) { _value_list_append_string (&colorspace, "sYUV"); yuv = TRUE; } \
|
||||
} while (0)
|
||||
G_STMT_END
|
||||
|
||||
switch (va_rt_format_list[i]) {
|
||||
case VA_RT_FORMAT_YUV420:
|
||||
|
|
Loading…
Reference in a new issue