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
47512c0d
Commit
47512c0d
authored
Mar 10, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix progress dialog scale
parent
f2d57a37
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
modules/access/dvb/scan.c
modules/access/dvb/scan.c
+1
-1
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+2
-2
src/misc/update.c
src/misc/update.c
+1
-1
No files found.
modules/access/dvb/scan.c
View file @
47512c0d
...
@@ -320,7 +320,7 @@ int scan_Next( scan_t *p_scan, scan_configuration_t *p_cfg )
...
@@ -320,7 +320,7 @@ int scan_Next( scan_t *p_scan, scan_configuration_t *p_cfg )
if
(
p_scan
->
p_dialog
==
NULL
)
if
(
p_scan
->
p_dialog
==
NULL
)
p_scan
->
p_dialog
=
dialog_ProgressCreate
(
p_scan
->
p_obj
,
_
(
"Scanning DVB-T"
),
psz_text
,
_
(
"Cancel"
)
);
p_scan
->
p_dialog
=
dialog_ProgressCreate
(
p_scan
->
p_obj
,
_
(
"Scanning DVB-T"
),
psz_text
,
_
(
"Cancel"
)
);
if
(
p_scan
->
p_dialog
!=
NULL
)
if
(
p_scan
->
p_dialog
!=
NULL
)
dialog_ProgressSet
(
p_scan
->
p_dialog
,
psz_text
,
100
*
f_position
);
dialog_ProgressSet
(
p_scan
->
p_dialog
,
psz_text
,
f_position
);
free
(
psz_text
);
free
(
psz_text
);
}
}
...
...
modules/demux/avi/avi.c
View file @
47512c0d
...
@@ -2415,8 +2415,8 @@ static void AVI_IndexCreate( demux_t *p_demux )
...
@@ -2415,8 +2415,8 @@ static void AVI_IndexCreate( demux_t *p_demux )
if
(
dialog_ProgressCancelled
(
p_dialog
)
)
if
(
dialog_ProgressCancelled
(
p_dialog
)
)
break
;
break
;
double
f_pos
=
100
.
0
*
stream_Tell
(
p_demux
->
s
)
/
float
f_pos
=
(
float
)
stream_Tell
(
p_demux
->
s
)
/
stream_Size
(
p_demux
->
s
);
(
float
)
stream_Size
(
p_demux
->
s
);
dialog_ProgressSet
(
p_dialog
,
NULL
,
f_pos
);
dialog_ProgressSet
(
p_dialog
,
NULL
,
f_pos
);
i_dialog_update
=
mdate
();
i_dialog_update
=
mdate
();
...
...
src/misc/update.c
View file @
47512c0d
...
@@ -1606,7 +1606,7 @@ static void* update_DownloadReal( vlc_object_t *p_this )
...
@@ -1606,7 +1606,7 @@ static void* update_DownloadReal( vlc_object_t *p_this )
l_downloaded
+=
i_read
;
l_downloaded
+=
i_read
;
psz_downloaded
=
size_str
(
l_downloaded
);
psz_downloaded
=
size_str
(
l_downloaded
);
f_progress
=
100
.
0
*
(
float
)
l_downloaded
/
(
float
)
l_size
;
f_progress
=
(
float
)
l_downloaded
/
(
float
)
l_size
;
if
(
asprintf
(
&
psz_status
,
_
(
"%s
\n
Downloading... %s/%s %.1f%% done"
),
if
(
asprintf
(
&
psz_status
,
_
(
"%s
\n
Downloading... %s/%s %.1f%% done"
),
p_update
->
release
.
psz_url
,
psz_downloaded
,
psz_size
,
p_update
->
release
.
psz_url
,
psz_downloaded
,
psz_size
,
...
...
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