summaryrefslogtreecommitdiffstats
path: root/ext/mpeg2enc
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-01-20 13:08:39 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-01-20 13:08:39 +0000
commit777a0fcefa954e1ce682ad1b9dcc35ed3b2833ff (patch)
tree6efb6ece9aa4cb79f0e6351597ce86593f3839cc /ext/mpeg2enc
parent156163e66af48035631f40237b2d42284bea6339 (diff)
downloadgst-plugins-bad-777a0fcefa954e1ce682ad1b9dcc35ed3b2833ff.tar.gz
gst-plugins-bad-777a0fcefa954e1ce682ad1b9dcc35ed3b2833ff.tar.bz2
gst-plugins-bad-777a0fcefa954e1ce682ad1b9dcc35ed3b2833ff.zip
ext/mpeg2enc/gstmpeg2encpicturereader.cc: fix thomas' error errors.
Original commit message from CVS: 2004-01-20 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/mpeg2enc/gstmpeg2encpicturereader.cc: fix thomas' error errors.
Diffstat (limited to 'ext/mpeg2enc')
-rw-r--r--ext/mpeg2enc/gstmpeg2encpicturereader.cc3
1 files changed, 2 insertions, 1 deletions
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;
}