Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
ed2a403f
Commit
ed2a403f
authored
Jun 04, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redumdant b_play code
parent
4d50ccca
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
66 deletions
+0
-66
include/vlc_interface.h
include/vlc_interface.h
+0
-1
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+0
-6
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+0
-9
modules/gui/skins2/src/skin_main.cpp
modules/gui/skins2/src/skin_main.cpp
+0
-16
modules/gui/wince/wince.cpp
modules/gui/wince/wince.cpp
+0
-13
modules/gui/wxwidgets/wxwidgets.cpp
modules/gui/wxwidgets/wxwidgets.cpp
+0
-16
src/interface/interface.c
src/interface/interface.c
+0
-4
src/libvlc.c
src/libvlc.c
+0
-1
No files found.
include/vlc_interface.h
View file @
ed2a403f
...
...
@@ -54,7 +54,6 @@ struct intf_thread_t
VLC_COMMON_MEMBERS
/* Thread properties and locks */
bool
b_play
;
bool
b_should_run_on_first_thread
;
/* Specific interfaces */
...
...
modules/gui/macosx/intf.m
View file @
ed2a403f
...
...
@@ -108,7 +108,6 @@ int OpenIntf ( vlc_object_t *p_this )
p_intf
->
p_sys
->
o_sendport
=
[[
NSPort
port
]
retain
];
p_intf
->
p_sys
->
p_sub
=
msg_Subscribe
(
p_intf
);
p_intf
->
b_play
=
true
;
p_intf
->
pf_run
=
Run
;
p_intf
->
b_should_run_on_first_thread
=
true
;
...
...
@@ -560,11 +559,6 @@ static VLCMain *_o_sharedMainInstance = nil;
p_playlist
=
pl_Yield
(
p_intf
);
/* Check if we need to start playing */
if
(
p_intf
->
b_play
)
{
playlist_Control
(
p_playlist
,
PLAYLIST_PLAY
,
false
);
}
var_Create
(
p_playlist
,
"fullscreen"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
val
.
b_bool
=
false
;
...
...
modules/gui/qt4/qt4.cpp
View file @
ed2a403f
...
...
@@ -235,9 +235,6 @@ static int Open( vlc_object_t *p_this )
p_intf
->
p_sys
->
p_playlist
=
pl_Yield
(
p_intf
);
p_intf
->
p_sys
->
p_sub
=
msg_Subscribe
(
p_intf
);
/* We support play on start */
p_intf
->
b_play
=
true
;
return
VLC_SUCCESS
;
}
...
...
@@ -353,12 +350,6 @@ static void Init( intf_thread_t *p_intf )
app
->
installTranslator
(
&
qtTranslator
);
#endif //ENABLE_NLS
/* Start playing if needed */
if
(
!
p_intf
->
pf_show_dialog
&&
p_intf
->
b_play
)
{
playlist_Control
(
THEPL
,
PLAYLIST_PLAY
,
false
);
}
/* Explain to the core how to show a dialog :D */
p_intf
->
pf_show_dialog
=
ShowDialog
;
...
...
modules/gui/skins2/src/skin_main.cpp
View file @
ed2a403f
...
...
@@ -163,9 +163,6 @@ static int Open( vlc_object_t *p_this )
Dialogs
::
instance
(
p_intf
);
ThemeRepository
::
instance
(
p_intf
);
// We support play on start
p_intf
->
b_play
=
true
;
return
(
VLC_SUCCESS
);
}
...
...
@@ -252,19 +249,6 @@ static void Run( intf_thread_t *p_intf )
// Get the instance of OSLoop
OSLoop
*
loop
=
OSFactory
::
instance
(
p_intf
)
->
getOSLoop
();
// Check if we need to start playing
if
(
p_intf
->
b_play
)
{
playlist_t
*
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_playlist
)
{
playlist_Control
(
p_playlist
,
PLAYLIST_PLAY
,
false
);
vlc_object_release
(
p_playlist
);
}
}
// Enter the main event loop
loop
->
run
();
...
...
modules/gui/wince/wince.cpp
View file @
ed2a403f
...
...
@@ -253,19 +253,6 @@ static void MainLoop( intf_thread_t *p_intf )
/* OK, initialization is over */
vlc_thread_ready
(
p_intf
);
/* Check if we need to start playing */
if
(
!
p_intf
->
pf_show_dialog
&&
p_intf
->
b_play
)
{
playlist_t
*
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_playlist
)
{
playlist_Play
(
p_playlist
);
vlc_object_release
(
p_playlist
);
}
}
// Main message loop
while
(
GetMessage
(
&
msg
,
NULL
,
0
,
0
)
>
0
)
{
...
...
modules/gui/wxwidgets/wxwidgets.cpp
View file @
ed2a403f
...
...
@@ -208,9 +208,6 @@ static int Open( vlc_object_t *p_this )
p_intf
->
pf_show_dialog
=
NULL
;
/* We support play on start */
p_intf
->
b_play
=
true
;
p_intf
->
p_sys
->
b_video_autosize
=
config_GetInt
(
p_intf
,
"wx-autosize"
);
...
...
@@ -390,19 +387,6 @@ bool Instance::OnInit()
/* OK, initialization is over */
vlc_thread_ready
(
p_intf
);
/* Check if we need to start playing */
if
(
!
p_intf
->
pf_show_dialog
&&
p_intf
->
b_play
)
{
playlist_t
*
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_playlist
)
{
playlist_Control
(
p_playlist
,
PLAYLIST_PLAY
,
false
);
vlc_object_release
(
p_playlist
);
}
}
/* Return TRUE to tell program to continue (FALSE would terminate) */
return
TRUE
;
}
...
...
src/interface/interface.c
View file @
ed2a403f
...
...
@@ -99,7 +99,6 @@ intf_thread_t* __intf_Create( vlc_object_t *p_this, const char *psz_module )
p_intf
->
pf_request_window
=
NULL
;
p_intf
->
pf_release_window
=
NULL
;
p_intf
->
pf_control_window
=
NULL
;
p_intf
->
b_play
=
false
;
p_intf
->
b_interaction
=
false
;
p_intf
->
b_should_run_on_first_thread
=
false
;
...
...
@@ -224,9 +223,6 @@ static void RunInterface( intf_thread_t *p_intf )
vlc_object_unlock
(
p_intf
);
}
/* Reset play on start status */
p_intf
->
b_play
=
false
;
if
(
!
p_intf
->
psz_switch_intf
)
{
break
;
...
...
src/libvlc.c
View file @
ed2a403f
...
...
@@ -1133,7 +1133,6 @@ int libvlc_InternalAddIntf( libvlc_int_t *p_libvlc, char const *psz_module )
}
/* Try to run the interface */
p_intf
->
b_play
=
false
;
/* TODO: remove b_play completely */
i_err
=
intf_RunThread
(
p_intf
);
if
(
i_err
)
{
...
...
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