udpsrc: open/close socket in NULL<->READY state
authorWim Taymans <wtaymans@redhat.com>
Mon, 24 Mar 2014 14:15:34 +0000 (15:15 +0100)
committerWim Taymans <wtaymans@redhat.com>
Mon, 24 Mar 2014 14:15:34 +0000 (15:15 +0100)
commit5e44fa3e316f3ae54aa3ecf8e7bbf1026fbb1ef6
tree05e1d62ee6360ee47f70cfcc22495505c0fcd745
parenta4f6f963eca8ccbcac94d84599974dcdcec86daa
udpsrc: open/close socket in NULL<->READY state

We should open the socket when going to NULL<->READY and not in the
start/stop vemthod, which is called in READY<->PAUSED. This makes it
possible to allocate a socket without going to PAUSED (and starting the
negotiation).
gst/udp/gstudpsrc.c