summaryrefslogtreecommitdiffstats
path: root/ext/directfb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/directfb')
-rw-r--r--ext/directfb/dfbvideosink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c
index 8a56ecbe..e6aa8277 100644
--- a/ext/directfb/dfbvideosink.c
+++ b/ext/directfb/dfbvideosink.c
@@ -1428,6 +1428,8 @@ gst_dfbvideosink_change_state (GstElement * element, GstStateChange transition)
if (!gst_dfbvideosink_setup (dfbvideosink)) {
GST_DEBUG_OBJECT (dfbvideosink, "setup failed when changing state "
"from NULL to READY");
+ GST_ELEMENT_ERROR (dfbvideosink, RESOURCE, OPEN_WRITE,
+ (NULL), ("Failed initializing DirectFB system"));
return GST_STATE_CHANGE_FAILURE;
}
}