Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xvba-video
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
xvba-video
Commits
15518786
Commit
15518786
authored
Sep 07, 2012
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xvba_driver: remove local X11 Display connection, use only the provided one from the application.
parent
ae09755a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
src/xvba_driver.c
src/xvba_driver.c
+0
-5
src/xvba_driver.h
src/xvba_driver.h
+0
-1
No files found.
src/xvba_driver.c
View file @
15518786
...
@@ -125,7 +125,6 @@ static void xvba_common_Terminate(xvba_driver_data_t *driver_data)
...
@@ -125,7 +125,6 @@ static void xvba_common_Terminate(xvba_driver_data_t *driver_data)
}
}
xvba_gate_exit
();
xvba_gate_exit
();
XCloseDisplay
(
driver_data
->
x11_dpy_local
);
}
}
// vaInitialize
// vaInitialize
...
@@ -135,10 +134,6 @@ static VAStatus xvba_common_Initialize(xvba_driver_data_t *driver_data)
...
@@ -135,10 +134,6 @@ static VAStatus xvba_common_Initialize(xvba_driver_data_t *driver_data)
int
fglrx_major_version
,
fglrx_minor_version
,
fglrx_micro_version
;
int
fglrx_major_version
,
fglrx_minor_version
,
fglrx_micro_version
;
unsigned
int
device_id
;
unsigned
int
device_id
;
driver_data
->
x11_dpy_local
=
XOpenDisplay
(
driver_data
->
x11_dpy_name
);
if
(
!
driver_data
->
x11_dpy_local
)
return
VA_STATUS_ERROR_UNKNOWN
;
if
(
!
fglrx_is_dri_capable
(
driver_data
->
x11_dpy
,
driver_data
->
x11_screen
))
if
(
!
fglrx_is_dri_capable
(
driver_data
->
x11_dpy
,
driver_data
->
x11_screen
))
return
VA_STATUS_ERROR_UNKNOWN
;
return
VA_STATUS_ERROR_UNKNOWN
;
...
...
src/xvba_driver.h
View file @
15518786
...
@@ -72,7 +72,6 @@ struct xvba_driver_data {
...
@@ -72,7 +72,6 @@ struct xvba_driver_data {
Display
*
x11_dpy
;
Display
*
x11_dpy
;
const
char
*
x11_dpy_name
;
const
char
*
x11_dpy_name
;
int
x11_screen
;
int
x11_screen
;
Display
*
x11_dpy_local
;
XVBADecodeCap
*
xvba_decode_caps
;
XVBADecodeCap
*
xvba_decode_caps
;
unsigned
int
xvba_decode_caps_count
;
unsigned
int
xvba_decode_caps_count
;
XVBASurfaceCap
*
xvba_surface_caps
;
XVBASurfaceCap
*
xvba_surface_caps
;
...
...
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