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
68f500ce
Commit
68f500ce
authored
Feb 04, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better fix
parent
e536ea5c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
modules/gui/wxwidgets/dialogs.cpp
modules/gui/wxwidgets/dialogs.cpp
+4
-2
modules/services_discovery/shout.c
modules/services_discovery/shout.c
+2
-2
src/interface/interaction.c
src/interface/interaction.c
+3
-4
No files found.
modules/gui/wxwidgets/dialogs.cpp
View file @
68f500ce
...
...
@@ -564,11 +564,13 @@ void DialogsProvider::OnInteraction( wxCommandEvent& event )
break
;
case
INTERACT_UPDATE
:
p_wxdialog
=
(
InteractionDialog
*
)(
p_dialog
->
p_private
);
p_wxdialog
->
Update
();
if
(
p_wxdialog
)
p_wxdialog
->
Update
();
break
;
case
INTERACT_HIDE
:
p_wxdialog
=
(
InteractionDialog
*
)(
p_dialog
->
p_private
);
p_wxdialog
->
Hide
();
if
(
p_wxdialog
)
p_wxdialog
->
Hide
();
p_dialog
->
i_status
=
HIDDEN_DIALOG
;
break
;
case
INTERACT_DESTROY
:
...
...
modules/services_discovery/shout.c
View file @
68f500ce
...
...
@@ -203,7 +203,7 @@ static void Run( services_discovery_t *p_sd )
int
i_state
=
var_GetInteger
(
p_input
,
"state"
);
if
(
i_state
==
PLAYING_S
)
{
float
f_pos
=
(
float
)(
p_sys
->
p_item
->
i_children
)
*
100
.
0
/
float
f_pos
=
(
float
)(
p_sys
->
p_item
->
i_children
)
*
2
*
100
.
0
/
(
float
)(
p_sys
->
i_limit
);
intf_UserProgressUpdate
(
p_sd
,
i_dialog_id
,
"Downloading"
,
f_pos
);
...
...
@@ -215,6 +215,6 @@ static void Run( services_discovery_t *p_sd )
p_sys
->
b_dialog
=
VLC_FALSE
;
intf_UserHide
(
p_sd
,
i_dialog_id
);
}
msleep
(
10000
0
);
msleep
(
10000
);
}
}
src/interface/interaction.c
View file @
68f500ce
...
...
@@ -228,6 +228,7 @@ void intf_InteractionManage( playlist_t *p_playlist )
new->pp_widgets = NULL; \
new->psz_title = NULL; \
new->psz_description = NULL; \
new->p_private = NULL; \
new->i_id = 0; \
new->i_flags = 0; \
new->i_status = NEW_DIALOG;
...
...
@@ -375,8 +376,7 @@ void __intf_UserProgressUpdate( vlc_object_t *p_this, int i_id,
vlc_mutex_lock
(
&
p_interaction
->
object_lock
);
p_dialog
=
intf_InteractionGetById
(
p_this
,
i_id
);
if
(
!
p_dialog
||
p_dialog
->
i_status
==
NEW_DIALOG
||
p_dialog
->
i_status
==
HIDING_DIALOG
)
if
(
!
p_dialog
)
{
vlc_mutex_unlock
(
&
p_interaction
->
object_lock
)
;
return
;
...
...
@@ -466,8 +466,7 @@ void __intf_UserHide( vlc_object_t *p_this, int i_id )
vlc_mutex_lock
(
&
p_interaction
->
object_lock
);
p_dialog
=
intf_InteractionGetById
(
p_this
,
i_id
);
if
(
!
p_dialog
||
p_dialog
->
i_status
==
NEW_DIALOG
||
p_dialog
->
i_status
==
HIDING_DIALOG
)
if
(
!
p_dialog
)
{
vlc_mutex_unlock
(
&
p_interaction
->
object_lock
);
return
;
...
...
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