fix wrong use of GST_ELEMENT_ERROR

Original commit message from CVS:
fix wrong use of GST_ELEMENT_ERROR
This commit is contained in:
Thomas Vander Stichele 2004-04-16 17:01:15 +00:00
parent 1c3add3521
commit f9e831a09b
3 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2004-04-16 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_open_file):
Fix GST_ELEMENT_ERROR with (NULL)
2004-04-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst-libs/gst/riff/riff-media.c:
@ -6,8 +11,6 @@
2004-04-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
reviewed by: <delete if not using a buddy>
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_caps), (gst_riff_create_audio_caps),

2
common

@ -1 +1 @@
Subproject commit c4fb9e5b7bc69f9420a0f008230e3028fdc2b097
Subproject commit d03e4388098656fa65df4d3a29e40fc556173d2d

View file

@ -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;
}