[transcode] Don't pass error to player on eof + some comments and cleaning

This commit is contained in:
ejurgensen
2015-10-22 22:09:19 +02:00
parent e20d2c544d
commit 3e80e5c517
4 changed files with 61 additions and 33 deletions

View File

@@ -215,7 +215,7 @@ stream_chunk_xcode_cb(int fd, short event, void *arg)
st = (struct stream_ctx *)arg;
xcoded = transcode(st->xcode, st->evbuf, STREAM_CHUNK_SIZE, &dummy);
xcoded = transcode(st->evbuf, STREAM_CHUNK_SIZE, st->xcode, &dummy);
if (xcoded <= 0)
{
if (xcoded == 0)