GNOME Bugzilla – Bug 667444
baseparse: clear adapter in reset so no old data is read when re-using elements
Last modified: 2012-01-12 19:58:44 UTC
gstbaseparse_reset was not clearing it's adapter on reset causing problems when a pipeline went for example from PLAYING to NULL and then back to PLAYING, the data from the last stream would be used in the parser. Attached is the patch to fix the issue
Created attachment 204784 [details] [review] patch to clear the adapter on reset
commit df6de8fe0c4f7179281def3fed282573b5a3e546 Author: Antoine Tremblay <hexa00@gmail.com> Date: Thu Jan 12 19:53:11 2012 +0000 baseparse: clear adapter in reset so baseparse is reusable GstBaseParse was not clearing its adapter on reset causing problems when a pipeline went for example from PLAYING to NULL state and then back to PLAYING again. The data from the last stream would be used in the parser. https://bugzilla.gnome.org/show_bug.cgi?id=667444