multipartdemux: allow content to be empty.
authorArnout Vandecappelle <arnout@mind.be>
Wed, 20 May 2009 11:29:02 +0000 (13:29 +0200)
committerWim Taymans <wim@metal.(none)>
Thu, 21 May 2009 20:05:10 +0000 (22:05 +0200)
commita5252aec08d6b939ed57ac3ed499c6a406994df2
treeaffb59bab4cbfb61d7f0d280165d8ec3107df1ec
parentd7fd42999eca5fffa3a7d1028a0253e0377fc841
multipartdemux: allow content to be empty.

gst_adapter_take_buffer doesn't allow buffer to be empty.
Simply skip any part where the content is empty.  Don't
create a pad for it either.
See #582169
gst/multipart/multipartdemux.c