From f9e831a09b93dd9c03bb8aea443d1d25ce7f7840 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 16 Apr 2004 17:01:15 +0000 Subject: [PATCH] fix wrong use of GST_ELEMENT_ERROR Original commit message from CVS: fix wrong use of GST_ELEMENT_ERROR --- ChangeLog | 7 +++++-- common | 2 +- ext/gnomevfs/gstgnomevfssink.c | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4928de9843..96a89000d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-04-16 Thomas Vander Stichele + + * ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_open_file): + Fix GST_ELEMENT_ERROR with (NULL) + 2004-04-15 Ronald Bultje * gst-libs/gst/riff/riff-media.c: @@ -6,8 +11,6 @@ 2004-04-15 Ronald Bultje - reviewed by: - * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps_with_data), (gst_riff_create_video_caps), (gst_riff_create_audio_caps), diff --git a/common b/common index c4fb9e5b7b..d03e438809 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit c4fb9e5b7bc69f9420a0f008230e3028fdc2b097 +Subproject commit d03e4388098656fa65df4d3a29e40fc556173d2d diff --git a/ext/gnomevfs/gstgnomevfssink.c b/ext/gnomevfs/gstgnomevfssink.c index 213c2c5d90..c43400268f 100644 --- a/ext/gnomevfs/gstgnomevfssink.c +++ b/ext/gnomevfs/gstgnomevfssink.c @@ -347,7 +347,8 @@ gst_gnomevfssink_open_file (GstGnomeVFSSink * sink) } sink->own_handle = TRUE; } else if (!sink->handle) { - GST_ELEMENT_ERROR (sink, RESOURCE, FAILED, (_("No filename given")), NULL); + GST_ELEMENT_ERROR (sink, RESOURCE, FAILED, (_("No filename given")), + (NULL)); return FALSE; }