baseparse: clear adapter in reset so baseparse is reusable
authorAntoine Tremblay <hexa00@gmail.com>
Thu, 12 Jan 2012 19:53:11 +0000 (19:53 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 18 Jan 2012 01:07:24 +0000 (01:07 +0000)
commitf07376a6d81f99ac61b7f79b3660a4475b9fbb9a
treeaba95a693d27805cfeec47f5199adb5fa822caad
parent4df478b234cf3f9472afe02092c9c4e70dd409a1
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
libs/gst/base/gstbaseparse.c