/* ERRORS */
was_open:
{
- GST_ELEMENT_WARNING (sink, RESOURCE, BUSY,
- ("Changing the `location' property on filesink when a file is open is "
- "not supported."),
- ("setting the 'location' property in wrong state"));
+ g_warning ("Changing the `location' property on filesink when a file is "
+ "open is not supported.");
return FALSE;
}
}
/* ERROR */
wrong_state:
{
- GST_ELEMENT_WARNING (src, RESOURCE, BUSY,
- ("Changing the `location' property on filesrc when a file is open is "
- "not supported."),
- ("setting the 'location' property in wrong state"));
+ g_warning ("Changing the `location' property on filesink when a file is "
+ "open is not supported.");
GST_OBJECT_UNLOCK (src);
return FALSE;
}