encoding: fix EOS handling in streamsplitter / combiner.
authorMathieu Duponchelle <mathieu.duponchelle@epitech.eu>
Sun, 21 Jul 2013 22:48:54 +0000 (00:48 +0200)
committerThibault Saunier <thibault.saunier@collabora.com>
Mon, 22 Jul 2013 00:25:54 +0000 (20:25 -0400)
commit2f8b0f1e34833f8da5b3ff7b9b4eb656c4c26a1f
tree36bfd5924328ef496e72383fbf9d6f25e9f0f260
parent5732ced69263cc9d99b66e202c751a777f229495
encoding: fix EOS handling in streamsplitter / combiner.

This commit adds a streamcombinerpad with an is_eos field.
When streamcombiner receives an EOS on one of its pads, it
forwards it all its other pads are EOS.
This commit also removes the notion of "stream-switching-eos".
gst/encoding/Makefile.am
gst/encoding/gststreamcombiner.c
gst/encoding/gststreamcombinerpad.h [new file with mode: 0644]
gst/encoding/gststreamsplitter.c