summaryrefslogtreecommitdiffstats
path: root/stream/stream_file.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-12 22:11:08 +0200
committerwm4 <wm4@nowhere>2013-07-12 22:16:27 +0200
commitf406482d84b8597235e17bedfb7539a5863d869e (patch)
tree7c51a14cf7ee59c47c681d362cc7d36749860d4b /stream/stream_file.c
parent6d8f8fc4f08ade853b4171b068cf9d855eb5a936 (diff)
downloadmpv-f406482d84b8597235e17bedfb7539a5863d869e.tar.bz2
mpv-f406482d84b8597235e17bedfb7539a5863d869e.tar.xz
stream: remove useless author/comment fields
These were printed only with -v. Most streams had them set to useless or redundant values, so it's just badly maintained bloat. Since we remove the "author" field too, and since this may have copyright implications, we add the contents of the author fields to the file headers, except if the name is already part of the file header.
Diffstat (limited to 'stream/stream_file.c')
-rw-r--r--stream/stream_file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c
index 6166610ec6..b9e4f2f2e1 100644
--- a/stream/stream_file.c
+++ b/stream/stream_file.c
@@ -1,6 +1,8 @@
/*
* This file is part of MPlayer.
*
+ * Original authors: Albeu, probably Arpi
+ *
* MPlayer is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -237,10 +239,7 @@ static int open_f(stream_t *stream,int mode, void* opts)
}
const stream_info_t stream_info_file = {
- "File",
"file",
- "Albeu",
- "based on the code from ??? (probably Arpi)",
open_f,
{ "file", "", NULL },
&stream_opts,