mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
va: h264enc: Fix the forgotten unlock() when getting device path property.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2215>
This commit is contained in:
parent
23e280f05b
commit
4c5d34648c
1 changed files with 2 additions and 2 deletions
|
@ -4109,9 +4109,9 @@ gst_va_h264_enc_get_property (GObject * object, guint prop_id,
|
||||||
case PROP_DEVICE_PATH:{
|
case PROP_DEVICE_PATH:{
|
||||||
if (!(self->display && GST_IS_VA_DISPLAY_DRM (self->display))) {
|
if (!(self->display && GST_IS_VA_DISPLAY_DRM (self->display))) {
|
||||||
g_value_set_string (value, NULL);
|
g_value_set_string (value, NULL);
|
||||||
return;
|
} else {
|
||||||
}
|
|
||||||
g_object_get_property (G_OBJECT (self->display), "path", value);
|
g_object_get_property (G_OBJECT (self->display), "path", value);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue