Merge commit '85b3b1c4ba7af9c2658442b0aafd27d613e1854b'
* commit '85b3b1c4ba7af9c2658442b0aafd27d613e1854b':
xcbgrab: Unbreak parsing filename options
Conflicts:
libavdevice/xcbgrab.c
See: db442c8736
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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);
|
c->conn = xcb_connect(display_name[0] ? display_name : NULL, &screen_num);
|
||||||
av_freep(&display_name);
|
av_freep(&display_name);
|
||||||
|
|
||||||
if ((ret = xcb_connection_has_error(c->conn))) {
|
if ((ret = xcb_connection_has_error(c->conn))) {
|
||||||
av_log(s, AV_LOG_ERROR, "Cannot open display %s, error %d.\n",
|
av_log(s, AV_LOG_ERROR, "Cannot open display %s, error %d.\n",
|
||||||
s->filename[0] ? s->filename : "default", ret);
|
s->filename[0] ? s->filename : "default", ret);
|
||||||
|
Reference in New Issue
Block a user