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
0a64cb09
Commit
0a64cb09
authored
Jul 08, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a window variable to select the window provider
parent
fa4ba3ac
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
src/control/media_player.c
src/control/media_player.c
+1
-0
src/libvlc.c
src/libvlc.c
+3
-0
src/video_output/video_output.c
src/video_output/video_output.c
+1
-1
No files found.
src/control/media_player.c
View file @
0a64cb09
...
...
@@ -367,6 +367,7 @@ libvlc_media_player_new( libvlc_instance_t *instance )
var_Create
(
mp
,
"rate"
,
VLC_VAR_FLOAT
|
VLC_VAR_DOINHERIT
);
/* Video */
var_Create
(
mp
,
"window"
,
VLC_VAR_STRING
);
var_Create
(
mp
,
"drawable-xid"
,
VLC_VAR_INTEGER
);
#ifdef WIN32
var_Create
(
mp
,
"drawable-hwnd"
,
VLC_VAR_ADDRESS
);
...
...
src/libvlc.c
View file @
0a64cb09
...
...
@@ -761,6 +761,9 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
var_Create
(
p_libvlc
,
"snapshot-file"
,
VLC_VAR_STRING
);
var_Create
(
p_libvlc
,
"record-file"
,
VLC_VAR_STRING
);
/* vout window provider */
var_Create
(
p_libvlc
,
"window"
,
VLC_VAR_STRING
);
/* Initialize playlist and get commandline files */
p_playlist
=
playlist_Create
(
VLC_OBJECT
(
p_libvlc
)
);
if
(
!
p_playlist
)
...
...
src/video_output/video_output.c
View file @
0a64cb09
...
...
@@ -502,7 +502,7 @@ vout_window_t * vout_NewDisplayWindow(vout_thread_t *vout, vout_display_t *vd,
vout
->
p
->
window
.
object
=
NULL
;
}
vout_window_t
*
window
=
vout_window_New
(
VLC_OBJECT
(
vout
),
NULL
,
vout_window_t
*
window
=
vout_window_New
(
VLC_OBJECT
(
vout
),
"$window"
,
&
cfg_override
);
if
(
!
window
)
return
NULL
;
...
...
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