diff options
Diffstat (limited to 'ext/divx')
-rw-r--r-- | ext/divx/gstdivxenc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/divx/gstdivxenc.c b/ext/divx/gstdivxenc.c index afd1860b..64ba60a9 100644 --- a/ext/divx/gstdivxenc.c +++ b/ext/divx/gstdivxenc.c @@ -295,9 +295,9 @@ gst_divxenc_setup (GstDivxEnc *divxenc) output.temporal_level = 1.0; if ((ret = encore(&handle, ENC_OPT_INIT, &input, &output))) { - gst_element_error(GST_ELEMENT(divxenc), - "Error setting up divx encoder: %s (%d)", - gst_divxenc_error(ret), ret); + gst_element_error (divxenc, LIBRARY, INIT, NULL, + ("Error setting up divx encoder: %s (%d)", + gst_divxenc_error(ret), ret)); return FALSE; } @@ -357,9 +357,9 @@ gst_divxenc_chain (GstPad *pad, if ((ret = encore(divxenc->handle, ENC_OPT_ENCODE, &xframe, &xres))) { - gst_element_error(GST_ELEMENT(divxenc), - "Error encoding divx frame: %s (%d)", - gst_divxenc_error(ret), ret); + gst_element_error (divxenc, LIBRARY, ENCODE, NULL, + ("Error encoding divx frame: %s (%d)", + gst_divxenc_error(ret), ret)); gst_buffer_unref(buf); return; } |