mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
colorspace: Make fast-path transform table const
This commit is contained in:
parent
e49aa545d0
commit
58949450b5
1 changed files with 1 additions and 1 deletions
|
@ -1170,7 +1170,7 @@ typedef struct
|
|||
GstVideoFormat to_format;
|
||||
void (*convert) (ColorspaceConvert * convert, guint8 * dest, guint8 * src);
|
||||
} ColorspaceTransform;
|
||||
static ColorspaceTransform transforms[] = {
|
||||
static const ColorspaceTransform transforms[] = {
|
||||
{GST_VIDEO_FORMAT_I420, GST_VIDEO_FORMAT_YUY2, convert_I420_YUY2},
|
||||
{GST_VIDEO_FORMAT_I420, GST_VIDEO_FORMAT_UYVY, convert_I420_UYVY},
|
||||
{GST_VIDEO_FORMAT_I420, GST_VIDEO_FORMAT_AYUV, convert_I420_AYUV},
|
||||
|
|
Loading…
Reference in a new issue