udpsrc: improve caps handling
authorWim Taymans <wtaymans@redhat.com>
Mon, 24 Mar 2014 13:25:28 +0000 (14:25 +0100)
committerWim Taymans <wtaymans@redhat.com>
Mon, 24 Mar 2014 14:22:04 +0000 (15:22 +0100)
commitd3c736c50f329fbd65a4ece41c7b72b610917a75
tree0906cc5c9034f47ae526b827c6b2059b3aad7c44
parent5e44fa3e316f3ae54aa3ecf8e7bbf1026fbb1ef6
udpsrc: improve caps handling

Protect caps with the lock.
Don't push the caps event from the set_property function but mark the
pad for reconfiguration so that it will renegotiate and push the new
caps event in the streaming thread.
gst/udp/gstudpsrc.c