projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23e280f
)
va: h264enc: Fix the forgotten unlock() when getting device path property.
author
He Junyan
<junyan.he@intel.com>
Mon, 18 Apr 2022 04:44:19 +0000
(12:44 +0800)
committer
He Junyan
<junyan.he@intel.com>
Mon, 18 Apr 2022 04:44:19 +0000
(12:44 +0800)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2215>
subprojects/gst-plugins-bad/sys/va/gstvah264enc.c
patch
|
blob
|
history
diff --git
a/subprojects/gst-plugins-bad/sys/va/gstvah264enc.c
b/subprojects/gst-plugins-bad/sys/va/gstvah264enc.c
index
6f20ed2
..
8c4e864
100644
(file)
--- a/
subprojects/gst-plugins-bad/sys/va/gstvah264enc.c
+++ b/
subprojects/gst-plugins-bad/sys/va/gstvah264enc.c
@@
-4109,9
+4109,9
@@
gst_va_h264_enc_get_property (GObject * object, guint prop_id,
case PROP_DEVICE_PATH:{
if (!(self->display && GST_IS_VA_DISPLAY_DRM (self->display))) {
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;
}
default: