mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
vaapidisplay: Fix uninitialized value error for VA attribute
https://bugzilla.gnome.org/show_bug.cgi?id=763362
This commit is contained in:
parent
548528c817
commit
805a4733bf
1 changed files with 2 additions and 2 deletions
|
@ -1798,7 +1798,7 @@ get_attribute (GstVaapiDisplay * display, VADisplayAttribType type,
|
|||
gint * value)
|
||||
{
|
||||
GstVaapiDisplayPrivate *const priv = GST_VAAPI_DISPLAY_GET_PRIVATE (display);
|
||||
VADisplayAttribute attr;
|
||||
VADisplayAttribute attr = { 0, };
|
||||
VAStatus status;
|
||||
|
||||
attr.type = type;
|
||||
|
@ -1814,7 +1814,7 @@ static gboolean
|
|||
set_attribute (GstVaapiDisplay * display, VADisplayAttribType type, gint value)
|
||||
{
|
||||
GstVaapiDisplayPrivate *const priv = GST_VAAPI_DISPLAY_GET_PRIVATE (display);
|
||||
VADisplayAttribute attr;
|
||||
VADisplayAttribute attr = { 0, };
|
||||
VAStatus status;
|
||||
|
||||
attr.type = type;
|
||||
|
|
Loading…
Reference in a new issue