Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
01fdfa51
Commit
01fdfa51
authored
May 06, 2015
by
Nicolas George
Committed by
Luca Barbato
May 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xcbgrab: Accept geometries matching the screen size
Introduced in
e8c4db0d
.
parent
3735b5c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xcbgrab.c
libavdevice/xcbgrab.c
+2
-2
No files found.
libavdevice/xcbgrab.c
View file @
01fdfa51
...
...
@@ -528,8 +528,8 @@ static int create_stream(AVFormatContext *s)
gc
=
xcb_get_geometry
(
c
->
conn
,
c
->
screen
->
root
);
geo
=
xcb_get_geometry_reply
(
c
->
conn
,
gc
,
NULL
);
if
(
c
->
x
+
c
->
width
>
=
geo
->
width
||
c
->
y
+
c
->
height
>
=
geo
->
height
)
{
if
(
c
->
x
+
c
->
width
>
geo
->
width
||
c
->
y
+
c
->
height
>
geo
->
height
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Capture area %dx%d at position %d.%d "
"outside the screen size %dx%d
\n
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment