metadata: reset state if there is something to reset
authorStefan Kost <ensonic@users.sf.net>
Fri, 17 Jul 2009 12:47:10 +0000 (15:47 +0300)
committerStefan Kost <ensonic@users.sf.net>
Fri, 17 Jul 2009 12:50:19 +0000 (15:50 +0300)
commit4307be631de43ea2a36e8ad06e941a2e36032857
tree500566c7f2c84232fa7f0e65bfba6ae290f290eb
parent4ef918df28fff5efa67a93a00bfbf0562e8b213f
metadata: reset state if there is something to reset

The condition was wrong and as such the element was writing the same tags on subsequent
images if reused.
ext/metadata/gstbasemetadata.c