mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
fix for new error signaling
Original commit message from CVS: fix for new error signaling
This commit is contained in:
parent
2924c6ccd7
commit
7819b2bc67
2 changed files with 11 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* ext/divx/gstdivxenc.c: (gst_divxenc_setup), (gst_divxenc_chain):
|
||||||
|
fix for new error reporting
|
||||||
|
|
||||||
2004-01-20 David Schleef <ds@schleef.org>
|
2004-01-20 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents),
|
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents),
|
||||||
|
|
|
@ -295,9 +295,9 @@ gst_divxenc_setup (GstDivxEnc *divxenc)
|
||||||
output.temporal_level = 1.0;
|
output.temporal_level = 1.0;
|
||||||
|
|
||||||
if ((ret = encore(&handle, ENC_OPT_INIT, &input, &output))) {
|
if ((ret = encore(&handle, ENC_OPT_INIT, &input, &output))) {
|
||||||
gst_element_error(GST_ELEMENT(divxenc),
|
gst_element_error (divxenc, LIBRARY, INIT, NULL,
|
||||||
"Error setting up divx encoder: %s (%d)",
|
("Error setting up divx encoder: %s (%d)",
|
||||||
gst_divxenc_error(ret), ret);
|
gst_divxenc_error(ret), ret));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -357,9 +357,9 @@ gst_divxenc_chain (GstPad *pad,
|
||||||
|
|
||||||
if ((ret = encore(divxenc->handle, ENC_OPT_ENCODE,
|
if ((ret = encore(divxenc->handle, ENC_OPT_ENCODE,
|
||||||
&xframe, &xres))) {
|
&xframe, &xres))) {
|
||||||
gst_element_error(GST_ELEMENT(divxenc),
|
gst_element_error (divxenc, LIBRARY, ENCODE, NULL,
|
||||||
"Error encoding divx frame: %s (%d)",
|
("Error encoding divx frame: %s (%d)",
|
||||||
gst_divxenc_error(ret), ret);
|
gst_divxenc_error(ret), ret));
|
||||||
gst_buffer_unref(buf);
|
gst_buffer_unref(buf);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue