I am having some trouble with GStreamer particularly when I run this command from my application:
gst_element_set_state( pipeline, GST_STATE_PLAYING );
This is the error I receive -
error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
I am running on a Linux distro called Yocto.
Any help is much appreciated. I have been stuck on this for half a day.