Bug 9475 - Pipeline may return premature end-of-file
: Pipeline may return premature end-of-file
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Transcoding
: unspecified
: All Debian Linux
: -- normal (vote)
: ---
Assigned To: Alan Young
:
Depends on:
Blocks: 9361
  Show dependency treegraph
 
Reported: 2008-09-12 07:36 UTC by Alan Young
Modified: 2008-09-18 10:46 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Young 2008-09-12 07:36:31 UTC
Slim::Player::Pipeline is used for transcoding. It appears, from inspection of the code, that it may return a premature end-of-file to its consumer. If the processes in the pipeline are still processing data, but it is not yet available to be read by the consumer, then end-of-file on the source will be returned as such to the consumer, thereby discarding the in-processing data.

Also the pipeline input pipe is not closed upon source end-of-file. It might be that the transcoding processes require an end-of-file marker to properly flush the data through the pipeline.
Comment 1 Alan Young 2008-09-18 10:45:02 UTC
Fixed in change 23216.