Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libva
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
libva
Commits
fee5a472
Commit
fee5a472
authored
Feb 04, 2009
by
Austin Yuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix vainfo build issue
Signed-off-by:
Austin Yuan
<
shengquan.yuan@intel.com
>
parent
1cb6ba53
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
test/Makefile.am
test/Makefile.am
+1
-1
test/vainfo.c
test/vainfo.c
+2
-2
No files found.
test/Makefile.am
View file @
fee5a472
...
@@ -27,7 +27,7 @@ bin_PROGRAMS = vainfo
...
@@ -27,7 +27,7 @@ bin_PROGRAMS = vainfo
testdir
=
$(bindir)
testdir
=
$(bindir)
AM_CFLAGS
=
-I
$(top_srcdir)
/../../include/external/
-I
$(top_srcdir)
/src
-I
$(top_srcdir)
/src/
x
11
AM_CFLAGS
=
-I
$(top_srcdir)
/../../include/external/
-I
$(top_srcdir)
/src
-I
$(top_srcdir)
/src/
X
11
TESTS
=
$(check_PROGRAMS)
TESTS
=
$(check_PROGRAMS)
...
...
test/vainfo.c
View file @
fee5a472
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
*/
#include <va_x11.h>
#include <
X11/
va_x11.h>
#include <stdarg.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdio.h>
...
@@ -44,7 +44,7 @@ int main(int argc, const char* argv[])
...
@@ -44,7 +44,7 @@ int main(int argc, const char* argv[])
else
else
name
=
argv
[
0
];
name
=
argv
[
0
];
dpy
=
XOpenDisplay
(
NULL
);
dpy
=
XOpenDisplay
(
":0.0"
);
if
(
NULL
==
dpy
)
if
(
NULL
==
dpy
)
{
{
fprintf
(
stderr
,
"%s: Error, can't open display: '%s'
\n
"
,
name
,
display
?
display
:
""
);
fprintf
(
stderr
,
"%s: Error, can't open display: '%s'
\n
"
,
name
,
display
?
display
:
""
);
...
...
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