summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorJulien Moutte <julien@moutte.net>2006-07-31 17:29:22 +0000
committerJulien Moutte <julien@moutte.net>2006-07-31 17:29:22 +0000
commitd3b76b0583aaac18540b42459c680f252f6621ba (patch)
treee3e28b72602727d77f3d2f8bec4f281e783f6dca /ext
parentf91baadfcd578246f61d362e199394f7d74019a8 (diff)
downloadgst-plugins-bad-d3b76b0583aaac18540b42459c680f252f6621ba.tar.gz
gst-plugins-bad-d3b76b0583aaac18540b42459c680f252f6621ba.tar.bz2
gst-plugins-bad-d3b76b0583aaac18540b42459c680f252f6621ba.zip
ext/directfb/dfbvideosink.c: Post an error message.
Original commit message from CVS: 2006-07-31 Julien MOUTTE <julien@moutte.net> * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_change_state), (gst_dfbvideosink_buffer_alloc): Post an error message.
Diffstat (limited to 'ext')
-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;
}
}