mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
don't forget to check for null
This commit is contained in:
parent
6f49bdd90c
commit
43583aaa16
1 changed files with 2 additions and 1 deletions
|
@ -165,7 +165,8 @@ ges_track_video_title_source_set_text (GESTrackVideoTitleSource * self,
|
|||
const gchar * text)
|
||||
{
|
||||
self->text = g_strdup (text);
|
||||
g_object_set (self->text_el, "text", text, NULL);
|
||||
if (self->text_el)
|
||||
g_object_set (self->text_el, "text", text, NULL);
|
||||
}
|
||||
|
||||
GESTrackVideoTitleSource *
|
||||
|
|
Loading…
Reference in a new issue