mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
/*
|
||||
* This file is part of MPlayer.
|
||||
*
|
||||
* Original author: Albeu
|
||||
*
|
||||
* 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
|
||||
@@ -487,10 +489,7 @@ static int open_cdda(stream_t *st, int m, void *opts)
|
||||
}
|
||||
|
||||
const stream_info_t stream_info_cdda = {
|
||||
"CDDA",
|
||||
"cdda",
|
||||
"Albeu",
|
||||
"",
|
||||
open_cdda,
|
||||
{"cdda", NULL },
|
||||
&stream_opts,
|
||||
|
||||
Reference in New Issue
Block a user