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
3fbf9b48
Commit
3fbf9b48
authored
Mar 03, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: only embed video coming from the playlist (i.e. not VLM)
parent
4c40aec4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+5
-7
No files found.
modules/gui/qt4/qt4.cpp
View file @
3fbf9b48
...
...
@@ -339,10 +339,9 @@ static int Open( vlc_object_t *p_this, bool isDialogProvider )
if
(
!
p_sys
->
b_isDialogProvider
)
{
vlc_value_t
val
;
var_Create
(
p_this
->
p_libvlc
,
"qt4-iface"
,
VLC_VAR_ADDRESS
);
val
.
p_address
=
p_this
;
var_Set
(
p_this
->
p_libvlc
,
"qt4-iface"
,
val
);
playlist_t
*
pl
=
pl_Get
(
p_this
);
var_Create
(
pl
,
"qt4-iface"
,
VLC_VAR_ADDRESS
);
var_SetAddress
(
pl
,
"qt4-iface"
,
p_this
);
}
return
VLC_SUCCESS
;
}
...
...
@@ -365,7 +364,7 @@ static void Close( vlc_object_t *p_this )
intf_sys_t
*
p_sys
=
p_intf
->
p_sys
;
if
(
!
p_sys
->
b_isDialogProvider
)
var_Destroy
(
p
_this
->
p_libvlc
,
"qt4-iface"
);
var_Destroy
(
p
l_Get
(
p_this
)
,
"qt4-iface"
);
QVLCApp
::
triggerQuit
();
...
...
@@ -547,8 +546,7 @@ static int WindowOpen( vlc_object_t *p_obj )
return
VLC_EGENERIC
;
vlc_value_t
val
;
if
(
var_Get
(
p_obj
->
p_libvlc
,
"qt4-iface"
,
&
val
)
)
if
(
var_Inherit
(
p_obj
,
"qt4-iface"
,
VLC_VAR_ADDRESS
,
&
val
)
)
val
.
p_address
=
NULL
;
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
val
.
p_address
;
...
...
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