mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
fix error error
Original commit message from CVS: fix error error
This commit is contained in:
parent
1454eff178
commit
156163e66a
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* ext/mpeg2enc/gstmpeg2enc.cc:
|
||||
fix error errors.
|
||||
|
||||
2004-01-20 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/divx/gstdivxdec.c: (gst_divxdec_setup), (gst_divxdec_chain):
|
||||
|
|
|
@ -239,7 +239,7 @@ gst_mpeg2enc_loop (GstElement *element)
|
|||
gst_pad_set_element_private (enc->sinkpad, data);
|
||||
|
||||
if (!(caps = GST_PAD_CAPS (enc->sinkpad))) {
|
||||
gst_element_error (element, CORE, NEGOTIATION, NULL,
|
||||
gst_element_error (element, CORE, NEGOTIATION, (""),
|
||||
("format wasn't negotiated before loop function"));
|
||||
return;
|
||||
}
|
||||
|
@ -251,7 +251,7 @@ gst_mpeg2enc_loop (GstElement *element)
|
|||
/* and set caps on other side */
|
||||
othercaps = enc->encoder->getFormat ();
|
||||
if (gst_pad_set_explicit_caps (enc->srcpad, othercaps) <= 0) {
|
||||
gst_element_error (element, CORE, NEGOTIATION, NULL, NULL);
|
||||
gst_element_error (element, CORE, NEGOTIATION, (""), (""));
|
||||
delete enc->encoder;
|
||||
enc->encoder = NULL;
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue