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
f5930fff
Commit
f5930fff
authored
Mar 08, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use dialog_Question
parent
97ce64ff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
16 deletions
+14
-16
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+14
-16
No files found.
modules/demux/avi/avi.c
View file @
f5930fff
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include <vlc_demux.h>
#include <vlc_demux.h>
#include <vlc_interface.h>
#include <vlc_interface.h>
#include <vlc_dialog.h>
#include <vlc_meta.h>
#include <vlc_meta.h>
#include <vlc_codecs.h>
#include <vlc_codecs.h>
...
@@ -675,20 +676,17 @@ aviindex:
...
@@ -675,20 +676,17 @@ aviindex:
b_index
=
true
;
b_index
=
true
;
goto
aviindex
;
goto
aviindex
;
}
}
int
i_create
;
switch
(
dialog_Question
(
p_demux
,
_
(
"AVI Index"
)
,
i_create
=
intf_UserYesNo
(
p_demux
,
_
(
"AVI Index"
)
,
_
(
"This AVI file is broken. Seeking will not work correctly.
\n
"
_
(
"This AVI file is broken. Seeking will not "
"Do you want to try to fix it?
\n\n
"
"work correctly.
\n
Do you want to "
"This might take a long time."
),
"try to repair it?
\n\n
This might take a long time."
),
_
(
"Repair"
),
_
(
"Don't repair"
),
_
(
"Cancel"
)
)
)
_
(
"Repair"
),
_
(
"Don't repair"
),
_
(
"Cancel"
)
);
if
(
i_create
==
DIALOG_OK_YES
)
{
{
case
1
:
b_index
=
true
;
b_index
=
true
;
msg_Dbg
(
p_demux
,
"Fixing AVI index"
);
msg_Dbg
(
p_demux
,
"Fixing AVI index"
);
goto
aviindex
;
goto
aviindex
;
}
case
3
:
else
if
(
i_create
==
DIALOG_CANCELLED
)
{
/* Kill input */
/* Kill input */
vlc_object_kill
(
p_demux
->
p_parent
);
vlc_object_kill
(
p_demux
->
p_parent
);
goto
error
;
goto
error
;
...
...
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