mirror of
http://mpg123.de/trunk/.git
synced 2025-10-29 14:09:21 +03:00
mpg123: --streamdump with unintr_write().
git-svn-id: svn://scm.orgis.org/mpg123/trunk@4627 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
1
NEWS
1
NEWS
@@ -25,6 +25,7 @@ TODO: Make libout123 and/or mpg123 use that to convert on the fly. Optionally?
|
||||
out there.
|
||||
- mpg123:
|
||||
-- Drop --STDOUT (never properly implemented, use pipe to out123 instead).
|
||||
-- Make --streamdump use unintr_write() to avoid inconsistencies.
|
||||
-- Now sets non-zero exit code when any one track of the playlist
|
||||
fails to either produce at least one frame of playback, if there
|
||||
is data that should produce such (i.e. /dev/zero is bad, /dev/null is
|
||||
|
||||
@@ -20,7 +20,7 @@ static ssize_t dump_read(int fd, void *buf, size_t count)
|
||||
ssize_t ret = read(fd, buf, count);
|
||||
if(ret > 0 && dump_fd > -1)
|
||||
{
|
||||
ret = write(dump_fd, buf, ret);
|
||||
ret = unintr_write(dump_fd, buf, ret);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user