ext/gnomevfs/gstgnomevfssrc.c: don't g_return_if_fail if element is PLAYING, fail silently as every other element.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_set_property):
don't g_return_if_fail if element is PLAYING, fail silently as every
other element.
* gst/effectv/gstquark.c: (gst_quarktv_chain):
only fix needed for cast lvalue issues in gst-plugins
* gst/volenv/gstvolenv.c: (gst_volenv_init):
add proxy_getcaps
This commit is contained in:
Benjamin Otte 2004-03-24 14:44:08 +00:00
parent 098162b47a
commit a120776798
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,13 @@
2004-03-24 Benjamin Otte <otte@gnome.org>
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_set_property):
don't g_return_if_fail if element is PLAYING, fail silently as every
other element.
* gst/effectv/gstquark.c: (gst_quarktv_chain):
only fix needed for cast lvalue issues in gst-plugins
* gst/volenv/gstvolenv.c: (gst_volenv_init):
add proxy_getcaps
2004-03-24 Benjamin Otte <otte@gnome.org>
* gst/level/gstlevel.c: (gst_level_init):

View file

@ -397,8 +397,8 @@ gst_gnomevfssrc_set_property (GObject * object, guint prop_id,
switch (prop_id) {
case ARG_LOCATION:
/* the element must be stopped or paused in order to do this */
g_return_if_fail ((GST_STATE (src) < GST_STATE_PLAYING)
|| (GST_STATE (src) == GST_STATE_PAUSED));
if (GST_STATE (src) == GST_STATE_PLAYING)
break;
g_free (src->filename);