Commit a1b5cf01 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '85b3b1c4'

* commit '85b3b1c4':
  xcbgrab: Unbreak parsing filename options

Conflicts:
	libavdevice/xcbgrab.c

See: db442c87Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 2fbdf30e 85b3b1c4
......@@ -615,6 +615,7 @@ static av_cold int xcbgrab_read_header(AVFormatContext *s)
c->conn = xcb_connect(display_name[0] ? display_name : NULL, &screen_num);
av_freep(&display_name);
if ((ret = xcb_connection_has_error(c->conn))) {
av_log(s, AV_LOG_ERROR, "Cannot open display %s, error %d.\n",
s->filename[0] ? s->filename : "default", ret);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment