Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
vlc
Commits
db2014f4
Commit
db2014f4
authored
Sep 01, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msw vouts: Remove UNICODE ifdef
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
70ba5804
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
modules/video_output/msw/directx.c
modules/video_output/msw/directx.c
+0
-12
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+0
-2
No files found.
modules/video_output/msw/directx.c
View file @
db2014f4
...
...
@@ -240,11 +240,7 @@ static int OpenVideo( vlc_object_t *p_this )
p_vout
->
p_sys
->
MonitorFromWindow
=
(
HMONITOR
(
WINAPI
*
)(
HWND
,
DWORD
))
GetProcAddress
(
huser32
,
_T
(
"MonitorFromWindow"
)
);
p_vout
->
p_sys
->
GetMonitorInfo
=
#ifndef UNICODE
GetProcAddress
(
huser32
,
"GetMonitorInfoA"
);
#else
GetProcAddress
(
huser32
,
_T
(
"GetMonitorInfoW"
)
);
#endif
}
var_Create
(
p_vout
,
"overlay"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
...
...
@@ -842,11 +838,7 @@ static int DirectXInitDDraw( vout_thread_t *p_vout )
OurDirectDrawEnumerateEx
=
(
void
*
)
GetProcAddress
(
p_vout
->
p_sys
->
hddraw_dll
,
#ifndef UNICODE
"DirectDrawEnumerateExA"
);
#else
_T
(
"DirectDrawEnumerateExW"
)
);
#endif
if
(
OurDirectDrawEnumerateEx
&&
p_vout
->
p_sys
->
MonitorFromWindow
)
{
...
...
@@ -2027,11 +2019,7 @@ static int FindDevicesCallback( vlc_object_t *p_this, char const *psz_name,
if
(
hddraw_dll
==
NULL
)
return
VLC_SUCCESS
;
OurDirectDrawEnumerateEx
=
#ifndef UNICODE
(
void
*
)
GetProcAddress
(
hddraw_dll
,
"DirectDrawEnumerateExA"
);
#else
(
void
*
)
GetProcAddress
(
hddraw_dll
,
_T
(
"DirectDrawEnumerateExW"
)
);
#endif
if
(
OurDirectDrawEnumerateEx
)
{
...
...
modules/video_output/msw/events.c
View file @
db2014f4
...
...
@@ -343,7 +343,6 @@ void* EventThread( vlc_object_t *p_this )
#endif
}
#ifdef UNICODE
{
wchar_t
*
psz_title
=
malloc
(
strlen
(
val
.
psz_string
)
*
2
+
2
);
if
(
psz_title
)
...
...
@@ -353,7 +352,6 @@ void* EventThread( vlc_object_t *p_this )
free
(
val
.
psz_string
);
val
.
psz_string
=
(
char
*
)
psz_title
;
}
}
#endif
SetWindowText
(
p_event
->
p_vout
->
p_sys
->
hwnd
,
(
LPCTSTR
)
val
.
psz_string
);
...
...
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