summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-07-10appsink: Add a client timeout, and handle eos separatelyNirbheek Chauhan3-8/+47
If no chunks are written to a client for 10 seconds, we end that stream and clean it up. This is currently happening due to a bug, but might happen due to bad/slow clients as well. Instead of handling EOS from null samples, handle EOS through the signal handler. This is a more reliable way of handling EOS, and also works when the whole pipeline is torn down because the PUT stream ended.
2014-07-10debug: Use separate #ifdefs for each DEBUGNirbheek Chauhan2-5/+5
2014-07-09appsink: Use a GMutex to control when we pull samplesNirbheek Chauhan2-34/+29
We can only pull a new sample and write it out if the previous one has been written, otherwise we get a segfault in SoupMessage.
2014-07-09appsrc: Queue an EOS when aborted tooNirbheek Chauhan1-0/+21
2014-07-09appsink: Push samples when availability is signalledNirbheek Chauhan1-34/+16
This is to demonstrate that this doesn't work. It seems that using the SoupMessage associated with a response outside the signal handler for which it was created can result in a segfault, and eventually does.
2014-07-09Fix unref and frees in various placesNirbheek Chauhan2-19/+6
2014-07-09main/appsink: Don't hard-code element namesNirbheek Chauhan3-14/+10
2014-07-09Remove some unused headers, and fix a typoNirbheek Chauhan1-7/+1
2014-07-09main: Add option parsing (port)Nirbheek Chauhan1-3/+21
2014-07-09encode: Fix some leaksNirbheek Chauhan1-0/+4
2014-07-09Add source filesNirbheek Chauhan7-0/+1120