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
0fb33f81
Commit
0fb33f81
authored
Jan 08, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic
parent
30410784
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
src/interface/interaction.c
src/interface/interaction.c
+6
-4
No files found.
src/interface/interaction.c
View file @
0fb33f81
...
...
@@ -263,7 +263,7 @@ int __intf_Progress( vlc_object_t *p_this, const char *psz_title,
p_new
->
psz_description
=
strdup
(
psz_status
);
p_new
->
val
.
f_float
=
f_pos
;
p_new
->
i_timeToGo
=
i_time
;
p_new
->
psz_alternate_button
=
strdup
(
_
(
"Cancel"
)
);
p_new
->
psz_alternate_button
=
strdup
(
_
(
"Cancel"
)
);
if
(
psz_title
)
{
...
...
@@ -310,6 +310,8 @@ void __intf_ProgressUpdate( vlc_object_t *p_this, int i_id,
p_dialog
->
i_status
=
UPDATED_DIALOG
;
vlc_mutex_unlock
(
&
p_interaction
->
object_lock
)
;
playlist_Signal
(
pl_Get
(
p_this
)
);
}
/** Helper function to communicate dialogue cancellations between the
...
...
@@ -565,7 +567,7 @@ static int DialogSend( vlc_object_t *p_this, interaction_dialog_t *p_dialog )
if
(
p_dialog
->
i_type
==
INTERACT_DIALOG_TWOWAY
)
// Wait for answer
{
playlist_Signal
(
pl_Get
(
p_this
)
);
playlist_Signal
(
pl_Get
(
p_this
)
);
while
(
p_dialog
->
i_status
!=
ANSWERED_DIALOG
&&
p_dialog
->
i_status
!=
HIDING_DIALOG
&&
p_dialog
->
i_status
!=
HIDDEN_DIALOG
&&
...
...
@@ -582,7 +584,7 @@ static int DialogSend( vlc_object_t *p_this, interaction_dialog_t *p_dialog )
}
p_dialog
->
i_flags
|=
DIALOG_GOT_ANSWER
;
vlc_mutex_unlock
(
&
p_interaction
->
object_lock
);
playlist_Signal
(
pl_Get
(
p_this
)
);
playlist_Signal
(
pl_Get
(
p_this
)
);
return
p_dialog
->
i_return
;
}
else
...
...
@@ -590,7 +592,7 @@ static int DialogSend( vlc_object_t *p_this, interaction_dialog_t *p_dialog )
// Pretend we already retrieved the "answer"
p_dialog
->
i_flags
|=
DIALOG_GOT_ANSWER
;
vlc_mutex_unlock
(
&
p_interaction
->
object_lock
);
playlist_Signal
(
pl_Get
(
p_this
)
);
playlist_Signal
(
pl_Get
(
p_this
)
);
return
VLC_SUCCESS
;
}
}
...
...
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