Files
Velix-MPV-Core/stream
wm4 aaa29eb81e stream: fix --stream-dump dropping the file header
stream_rar.c peeks the first few bytes when trying to open, which means
that opening any stream reads at least 2KB of data (internal buffer
size) on opening. This broke --stream-dump, which saved only the data
following this initial buffer.

Hack it around by writing the current buffer to the capture file too,
and move stream_capture_write() above stream_set_capture_file() for this
purpose.

Cleaner solutions might include: handling the terrible rar thing
differently, or using the "proper" stream API for dumping. (The latter
is not done, because --stream-dump shares code with the --stream-capture
misfeature.)

Fixes #1215.
2014-10-25 17:20:18 +02:00
..
2014-04-13 18:03:01 +02:00
2013-12-21 21:43:16 +01:00
2014-10-19 23:48:40 +02:00
2014-04-13 18:03:01 +02:00
2014-03-30 11:42:49 +09:00
2014-07-01 23:11:08 +02:00
2013-12-21 21:43:16 +01:00
2014-09-13 16:09:51 +02:00
2014-09-13 16:09:51 +02:00
2014-06-11 00:39:14 +02:00
2014-09-25 23:54:18 +02:00
2014-06-11 00:39:14 +02:00
2014-09-25 23:54:18 +02:00
2014-06-11 00:39:14 +02:00
2014-06-11 00:39:14 +02:00
2014-06-11 00:39:14 +02:00
2014-06-11 00:39:14 +02:00
2014-06-11 00:39:14 +02:00
2014-08-28 12:02:50 +02:00
2014-07-05 17:07:15 +02:00
2014-04-13 18:03:01 +02:00
2014-10-25 17:20:17 +02:00