From d3b76b0583aaac18540b42459c680f252f6621ba Mon Sep 17 00:00:00 2001 From: Julien Moutte Date: Mon, 31 Jul 2006 17:29:22 +0000 Subject: ext/directfb/dfbvideosink.c: Post an error message. Original commit message from CVS: 2006-07-31 Julien MOUTTE * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_change_state), (gst_dfbvideosink_buffer_alloc): Post an error message. --- ext/directfb/dfbvideosink.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/directfb') 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; } } -- cgit v1.2.1