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
3778d63a
Commit
3778d63a
authored
Jul 08, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: drop drawable plugin priority to zero
We select it explicitly when a HWND is set for embedding.
parent
6eb5f075
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
modules/video_output/drawable.c
modules/video_output/drawable.c
+2
-1
src/control/media_player.c
src/control/media_player.c
+1
-0
No files found.
modules/video_output/drawable.c
View file @
3778d63a
...
...
@@ -42,8 +42,9 @@ vlc_module_begin ()
set_description
(
N_
(
"Embedded window video"
))
set_category
(
CAT_VIDEO
)
set_subcategory
(
SUBCAT_VIDEO_VOUT
)
set_capability
(
"vout window hwnd"
,
7
0
)
set_capability
(
"vout window hwnd"
,
0
)
set_callbacks
(
Open
,
Close
)
add_shortcut
(
"embed-hwnd"
)
vlc_module_end
()
static
int
Control
(
vout_window_t
*
,
int
,
va_list
);
...
...
src/control/media_player.c
View file @
3778d63a
...
...
@@ -845,6 +845,7 @@ void libvlc_media_player_set_hwnd( libvlc_media_player_t *p_mi,
{
assert
(
p_mi
!=
NULL
);
#ifdef WIN32
var_SetString
(
p_mi
,
"window"
,
"embed-hwnd,any"
);
var_SetAddress
(
p_mi
,
"drawable-hwnd"
,
drawable
);
#else
(
void
)
p_mi
;
(
void
)
drawable
;
...
...
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