baseparse: Return success if optional start/stop method is not provided

This allows to not implement the optional start/stop methods.
This commit is contained in:
Stas Sergeev 2011-09-26 14:36:46 +04:00 committed by Sebastian Dröge
parent a7f8e4a230
commit fafbc109f1

View file

@ -2777,7 +2777,7 @@ static gboolean
gst_base_parse_activate (GstBaseParse * parse, gboolean active)
{
GstBaseParseClass *klass;
gboolean result = FALSE;
gboolean result = TRUE;
GST_DEBUG_OBJECT (parse, "activate %d", active);