speexenc: Fix segment before caps event when draining
@stianse
Submitted by Stian Selnes Link to original bug (#773510)
Description
Don't send a segment event if we haven't produced data and set the
output caps yet. Doing so causes a g_warning about sticky event
misordering.