gstpay: fix for 1.0 events
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 1 Nov 2012 18:42:39 +0000 (18:42 +0000)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 1 Nov 2012 18:42:39 +0000 (18:42 +0000)
commitd6fd0ebd04688d0f0a7823bed1aac472a9158cd9
tree5f1262cf9b3c2c4bb550266e6c93511265f0f367
parent05232c55a5e5f435c0239934772a68f4db9b7acc
gstpay: fix for 1.0 events

Caps events are sometimes not followed by a buffer but by an event. Flush any
pending caps before we make a packet with the event.
Chain up to the parent event handler before we attempt to push RTP packets, it
might be a segment event.
gst/rtp/gstrtpgstpay.c