rtpdtmfsrc: Only set the duration when starting to send
authorOlivier Crête <olivier.crete@collabora.com>
Sat, 26 Jan 2013 01:37:53 +0000 (20:37 -0500)
committerOlivier Crête <olivier.crete@collabora.com>
Sat, 26 Jan 2013 01:45:43 +0000 (20:45 -0500)
commit0d316b4f43c56d68ba40b9afd3299372d2d12e47
treeeabc18bc52ab8c3e120b4273d0dc6a74177ad4d5
parent90497aa3cdcc9b4988f425282c9168cf5a7cf51b
rtpdtmfsrc: Only set the duration when starting to send

The duration depends on the clock rate, which could change due to renegotiation
gst/dtmf/gstrtpdtmfsrc.c