summaryrefslogtreecommitdiffstats
path: root/mpvcore/mplayer.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-23 19:07:27 +0200
committerwm4 <wm4@nowhere>2013-10-23 19:30:02 +0200
commitd58d4ec93c6a89cea3488689f12f6e7abd0617c9 (patch)
tree0b8114a6989cceeccde41693160a5db411476fe5 /mpvcore/mplayer.c
parent6d44a4dfd1487611dd8ff3da4a6566e64c17106a (diff)
downloadmpv-d58d4ec93c6a89cea3488689f12f6e7abd0617c9.tar.bz2
mpv-d58d4ec93c6a89cea3488689f12f6e7abd0617c9.tar.xz
audio/out: remove useless info struct and redundant fields
Diffstat (limited to 'mpvcore/mplayer.c')
-rw-r--r--mpvcore/mplayer.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/mpvcore/mplayer.c b/mpvcore/mplayer.c
index 5b35821b31..bfc5f7c4e1 100644
--- a/mpvcore/mplayer.c
+++ b/mpvcore/mplayer.c
@@ -1726,14 +1726,9 @@ void reinit_audio_chain(struct MPContext *mpctx)
}
ao->buffer.start = talloc_new(ao);
char *s = mp_audio_fmt_to_str(ao->samplerate, &ao->channels, ao->format);
- MP_INFO(mpctx, "AO: [%s] %s\n",
- ao->driver->info->short_name, s);
+ MP_INFO(mpctx, "AO: [%s] %s\n", ao->driver->name, s);
talloc_free(s);
- MP_VERBOSE(mpctx, "AO: Description: %s\nAO: Author: %s\n",
- ao->driver->info->name, ao->driver->info->author);
- if (strlen(ao->driver->info->comment) > 0)
- MP_VERBOSE(mpctx, "AO: Comment: %s\n",
- ao->driver->info->comment);
+ MP_VERBOSE(mpctx, "AO: Description: %s\n", ao->driver->description);
}
if (recreate_audio_filters(mpctx) < 0)