mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
fix element_error
Original commit message from CVS: fix element_error
This commit is contained in:
parent
34ac635d74
commit
cd0423ceeb
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* sys/v4l/v4l-overlay_calls.c: (gst_v4l_set_overlay):
|
||||||
|
* sys/v4l2/v4l2-overlay_calls.c: (gst_v4l2_set_display),
|
||||||
|
(gst_v4l2_set_window), (gst_v4l2_enable_overlay):
|
||||||
|
fix element_error
|
||||||
|
|
||||||
2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* sys/v4l/v4l_calls.h:
|
* sys/v4l/v4l_calls.h:
|
||||||
|
|
|
@ -65,13 +65,15 @@ gst_v4l_set_overlay (GstV4lElement *v4lelement)
|
||||||
switch (system(buff))
|
switch (system(buff))
|
||||||
{
|
{
|
||||||
case -1:
|
case -1:
|
||||||
g_warning("Could not start v4l-conf: %s", g_strerror(errno));
|
gst_element_error (v4lelement, RESOURCE, FAILED,
|
||||||
|
(_("Could not start v4l-conf")), GST_ERROR_SYSTEM);
|
||||||
g_free(buff);
|
g_free(buff);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
case 0:
|
case 0:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
g_warning("v4l-conf failed to run correctly: %s", g_strerror(errno));
|
gst_element_error (v4lelement, RESOURCE, FAILED,
|
||||||
|
(_("Executing v4l-conf failed")), GST_ERROR_SYSTEM);
|
||||||
g_free(buff);
|
g_free(buff);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue