baseparse: update the duration variable before emitting the bus
authorThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 28 Nov 2014 17:15:30 +0000 (14:15 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 28 Nov 2014 20:00:17 +0000 (17:00 -0300)
commit8f4ef80fc4662a2cffd363ee69fe4f9f90c38145
tree1d4533e343e0e38c47aaa6bb016809ff67a89233
parent53cbbcd8d94069f26f314a75be0503a377c0a059
baseparse: update the duration variable before emitting the bus

Otherwise the application might still get the old value if it asks
between the message and the real update.
libs/gst/base/gstbaseparse.c