mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Reset display-name if the user provided his own X11 display.
This commit is contained in:
parent
e4ae48029f
commit
a0255faa07
1 changed files with 4 additions and 0 deletions
|
@ -121,6 +121,10 @@ gst_vaapi_display_x11_constructed(GObject *object)
|
|||
|
||||
display->priv->create_display = display->priv->x11_display == NULL;
|
||||
|
||||
/* Reset display-name if the user provided his own X11 display */
|
||||
if (!display->priv->create_display)
|
||||
set_display_name(display, XDisplayString(display->priv->x11_display));
|
||||
|
||||
parent_class = G_OBJECT_CLASS(gst_vaapi_display_x11_parent_class);
|
||||
if (parent_class->constructed)
|
||||
parent_class->constructed(object);
|
||||
|
|
Loading…
Reference in a new issue