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
71b20c32
Commit
71b20c32
authored
Jul 30, 2004
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/video.cpp modules/gui/wxwindows/bookmarks.cpp:
+ Fixed compiler warnings due to bad argument types.
parent
3c4a7fc5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
modules/gui/wxwindows/bookmarks.cpp
modules/gui/wxwindows/bookmarks.cpp
+5
-4
modules/gui/wxwindows/video.cpp
modules/gui/wxwindows/video.cpp
+2
-2
No files found.
modules/gui/wxwindows/bookmarks.cpp
View file @
71b20c32
...
@@ -145,10 +145,10 @@ BookmarkEditDialog::BookmarkEditDialog( intf_thread_t *_p_intf,
...
@@ -145,10 +145,10 @@ BookmarkEditDialog::BookmarkEditDialog( intf_thread_t *_p_intf,
p_seekpoint
->
psz_name
:
""
),
p_seekpoint
->
psz_name
:
""
),
wxDefaultPosition
,
wxSize
(
100
,
20
)
);
wxDefaultPosition
,
wxSize
(
100
,
20
)
);
time_text
=
new
wxTextCtrl
(
this
,
-
1
,
wxString
::
Format
(
wxT
(
"%d"
),
time_text
=
new
wxTextCtrl
(
this
,
-
1
,
wxString
::
Format
(
wxT
(
"%d"
),
p_seekpoint
->
i_time_offset
/
1000000
),
(
int
)(
p_seekpoint
->
i_time_offset
/
1000000
)
),
wxDefaultPosition
,
wxSize
(
100
,
20
)
);
wxDefaultPosition
,
wxSize
(
100
,
20
)
);
bytes_text
=
new
wxTextCtrl
(
this
,
-
1
,
wxString
::
Format
(
wxT
(
"%d"
),
bytes_text
=
new
wxTextCtrl
(
this
,
-
1
,
wxString
::
Format
(
wxT
(
"%d"
),
p_seekpoint
->
i_byte_offset
),
(
int
)
p_seekpoint
->
i_byte_offset
),
wxDefaultPosition
,
wxSize
(
100
,
20
)
);
wxDefaultPosition
,
wxSize
(
100
,
20
)
);
sizer
->
Add
(
new
wxStaticText
(
this
,
-
1
,
wxU
(
_
(
"Name"
)
)
),
0
,
wxLEFT
,
5
);
sizer
->
Add
(
new
wxStaticText
(
this
,
-
1
,
wxU
(
_
(
"Name"
)
)
),
0
,
wxLEFT
,
5
);
...
@@ -311,10 +311,11 @@ void BookmarksDialog::Update()
...
@@ -311,10 +311,11 @@ void BookmarksDialog::Update()
for
(
int
i
=
0
;
i
<
i_bookmarks
;
i
++
)
for
(
int
i
=
0
;
i
<
i_bookmarks
;
i
++
)
{
{
list_ctrl
->
InsertItem
(
i
,
wxL2U
(
pp_bookmarks
[
i
]
->
psz_name
)
);
list_ctrl
->
InsertItem
(
i
,
wxL2U
(
pp_bookmarks
[
i
]
->
psz_name
)
);
/* FIXME: see if we can use the 64 bits integer format string */
list_ctrl
->
SetItem
(
i
,
1
,
wxString
::
Format
(
wxT
(
"%d"
),
list_ctrl
->
SetItem
(
i
,
1
,
wxString
::
Format
(
wxT
(
"%d"
),
pp_bookmarks
[
i
]
->
i_byte_offset
)
);
(
int
)(
pp_bookmarks
[
i
]
->
i_byte_offset
)
)
);
list_ctrl
->
SetItem
(
i
,
2
,
wxString
::
Format
(
wxT
(
"%d"
),
list_ctrl
->
SetItem
(
i
,
2
,
wxString
::
Format
(
wxT
(
"%d"
),
pp_bookmarks
[
i
]
->
i_time_offset
/
1000000
)
);
(
int
)(
pp_bookmarks
[
i
]
->
i_time_offset
/
1000000
)
)
);
}
}
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
...
...
modules/gui/wxwindows/video.cpp
View file @
71b20c32
...
@@ -292,8 +292,8 @@ int VideoWindow::ControlWindow( void *p_window, int i_query, va_list args )
...
@@ -292,8 +292,8 @@ int VideoWindow::ControlWindow( void *p_window, int i_query, va_list args )
double
f_arg
=
va_arg
(
args
,
double
);
double
f_arg
=
va_arg
(
args
,
double
);
/* Update dimensions */
/* Update dimensions */
wxSizeEvent
event
(
wxSize
(
p_vout
->
i_window_width
*
f_arg
,
wxSizeEvent
event
(
wxSize
(
(
int
)(
p_vout
->
i_window_width
*
f_arg
)
,
p_vout
->
i_window_height
*
f_arg
),
(
int
)(
p_vout
->
i_window_height
*
f_arg
)
),
UpdateSize_Event
);
UpdateSize_Event
);
AddPendingEvent
(
event
);
AddPendingEvent
(
event
);
...
...
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