rtpbin: handle NULL demux elements
authorBlaise Gassend <blaise at willowgarage dot com>
Tue, 22 Feb 2011 12:29:26 +0000 (13:29 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 22 Feb 2011 12:31:35 +0000 (13:31 +0100)
commit0f88181f431ddf48092230bf84ca9e0bb9315c16
tree7b3efd8687fbeb029505bb58035945844c1b486b
parent6b26017ae72507c75108285987bb3ed429f6524e
rtpbin: handle NULL demux elements

When using gstrtpbin with ignore-pt=true, the free_stream function tries to
call gst_element_set_locked_state and gst_element_set_state on a stream->demux
which is NULL.

fixes #642412
gst/rtpmanager/gstrtpbin.c