From 1cac7d1a659faffd1514a3269edf9fcae4d357c1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 20 Feb 2015 21:56:55 +0100 Subject: demux: add a demux_open_url() function Often stream and a demuxer are opened at the same time. Provide a function for this and replace most of its uses. --- options/parse_commandline.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'options') diff --git a/options/parse_commandline.c b/options/parse_commandline.c index 424b8fc0c3..90675c7e01 100644 --- a/options/parse_commandline.c +++ b/options/parse_commandline.c @@ -209,7 +209,8 @@ int m_config_parse_mp_command_line(m_config_t *config, struct playlist *files, struct playlist *pl = playlist_parse_file(param0, global); talloc_free(param0); if (!pl) { - MP_FATAL(config, "Error reading playlist '%.*s'", BSTR_P(p.param)); + MP_FATAL(config, "Error reading playlist '%.*s'\n", + BSTR_P(p.param)); goto err_out; } playlist_transfer_entries(files, pl); -- cgit v1.2.3