diff options
author | Julien Moutte <julien@moutte.net> | 2006-07-31 17:29:22 +0000 |
---|---|---|
committer | Julien Moutte <julien@moutte.net> | 2006-07-31 17:29:22 +0000 |
commit | d3b76b0583aaac18540b42459c680f252f6621ba (patch) | |
tree | e3e28b72602727d77f3d2f8bec4f281e783f6dca | |
parent | f91baadfcd578246f61d362e199394f7d74019a8 (diff) | |
download | gst-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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/directfb/dfbvideosink.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,6 +1,11 @@ 2006-07-31 Julien MOUTTE <julien@moutte.net> * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_change_state), + (gst_dfbvideosink_buffer_alloc): Post an error message. + +2006-07-31 Julien MOUTTE <julien@moutte.net> + + * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_change_state), (gst_dfbvideosink_buffer_alloc): Don't try allocating if we are not setup yet. Fail changing state if setup fails. 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; } } |