From 777a0fcefa954e1ce682ad1b9dcc35ed3b2833ff Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Tue, 20 Jan 2004 13:08:39 +0000 Subject: ext/mpeg2enc/gstmpeg2encpicturereader.cc: fix thomas' error errors. Original commit message from CVS: 2004-01-20 Ronald Bultje * ext/mpeg2enc/gstmpeg2encpicturereader.cc: fix thomas' error errors. --- ChangeLog | 5 +++++ ext/mpeg2enc/gstmpeg2encpicturereader.cc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1ec53eda..0b1be58b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-01-20 Ronald Bultje + + * ext/mpeg2enc/gstmpeg2encpicturereader.cc: + fix thomas' error errors. + 2004-01-20 Thomas Vander Stichele * ext/mpeg2enc/gstmpeg2enc.cc: diff --git a/ext/mpeg2enc/gstmpeg2encpicturereader.cc b/ext/mpeg2enc/gstmpeg2encpicturereader.cc index 10c1f4bc..0d9ae80b 100644 --- a/ext/mpeg2enc/gstmpeg2encpicturereader.cc +++ b/ext/mpeg2enc/gstmpeg2encpicturereader.cc @@ -98,7 +98,8 @@ GstMpeg2EncPictureReader::LoadFrame () if ((data = (GstData *) gst_pad_get_element_private (pad))) { gst_pad_set_element_private (pad, NULL); } else if (!(data = gst_pad_pull (pad))) { - gst_element_error (gst_pad_get_parent (pad), RESOURCE, READ, NULL, NULL); + gst_element_error (gst_pad_get_parent (pad), RESOURCE, READ, + (NULL), (NULL)); return true; } -- cgit v1.2.1