mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-09 13:21:16 +00:00
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.
This commit is contained in:
parent
f91baadfcd
commit
d3b76b0583
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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),
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue