[Bug 751105] baseparse: drain on stream-start
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Jun 25 07:23:06 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=751105
--- Comment #20 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
Reset is called from the reset() function that already was present at base
parse. So it is now being called at:
init
stream-start
after stop
Lots of elements call a reset() to initialize their variables but it feels
weird to have it at a constructor.
Drain() serves a different purpose and not necessarily means it needs to reset,
might just be a discont handling.
new caps also might not necessarily mean a reset, at least not a hard one as
this is supposed to mean.
For start() and stop() it might make sense, but the subclass can also call
directly their implementation if needed.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list