[MPlayer-cvslog] r32530 - trunk/command.c
reimar
subversion at mplayerhq.hu
Sat Oct 23 12:16:34 CEST 2010
Author: reimar
Date: Sat Oct 23 12:16:34 2010
New Revision: 32530
Log:
Change capture feature to append to file instead of overwriting.
This is more consistent with the documentation and likely more useful.
Modified:
trunk/command.c
Modified: trunk/command.c
==============================================================================
--- trunk/command.c Sat Oct 23 12:14:43 2010 (r32529)
+++ trunk/command.c Sat Oct 23 12:16:34 2010 (r32530)
@@ -1127,7 +1127,7 @@ static int mp_property_capture(m_option_
ret = m_property_flag(prop, action, arg, &capturing);
if (ret == M_PROPERTY_OK && capturing != !!mpctx->stream->capture_file) {
if (capturing) {
- mpctx->stream->capture_file = fopen(stream_dump_name, "wb");
+ mpctx->stream->capture_file = fopen(stream_dump_name, "ab");
if (!mpctx->stream->capture_file) {
mp_msg(MSGT_GLOBAL, MSGL_ERR,
"Error opening capture file: %s\n", strerror(errno));
More information about the MPlayer-cvslog
mailing list