Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
c3638c4d
Commit
c3638c4d
authored
Dec 04, 2003
by
gbazin
Browse files
* modules/gui/*: use MSTRTIME_MAX_SIZE instead of OFFSETTOTIME_MAX_SIZE.
parent
5383df0c
Changes
5
Hide whitespace changes
Inline
Side-by-side
modules/gui/beos/VlcWrapper.cpp
View file @
c3638c4d
...
...
@@ -2,7 +2,7 @@
* VlcWrapper.cpp: BeOS plugin for vlc (derived from MacOS X port)
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: VlcWrapper.cpp,v 1.
39
2003/1
1/2
4
0
0:
39:01 fenrir
Exp $
* $Id: VlcWrapper.cpp,v 1.
40
2003/1
2/0
4
1
0:
25:47 gbazin
Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -270,7 +270,7 @@ void VlcWrapper::ToggleSubtitle( int i_subtitle )
const
char
*
VlcWrapper
::
GetTimeAsString
()
{
static
char
psz_time
[
OFFSETTO
TIME_MAX_SIZE
];
static
char
psz_time
[
MSTR
TIME_MAX_SIZE
];
if
(
!
p_input
)
{
...
...
modules/gui/kde/interface.cpp
View file @
c3638c4d
...
...
@@ -502,7 +502,7 @@ void KInterface::slotSliderChanged( int position )
{
if
(
p_intf
->
p_sys
->
p_input
!=
NULL
)
{
char
psz_time
[
OFFSETTO
TIME_MAX_SIZE
];
char
psz_time
[
MSTR
TIME_MAX_SIZE
];
vlc_mutex_lock
(
&
p_intf
->
p_sys
->
p_input
->
stream
.
stream_lock
);
...
...
modules/gui/pda/pda.c
View file @
c3638c4d
...
...
@@ -2,7 +2,7 @@
* pda.c : PDA Gtk2 plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: pda.c,v 1.1
5
2003/12/0
3 20:47:06 jpsama
n Exp $
* $Id: pda.c,v 1.1
6
2003/12/0
4 10:25:47 gbazi
n Exp $
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
* Marc Ariberti <marcari@videolan.org>
...
...
@@ -564,7 +564,7 @@ void E_(GtkDisplayDate)( GtkAdjustment *p_adj )
if
(
p_intf
->
p_sys
->
p_input
)
{
#define p_area p_intf->p_sys->p_input->stream.p_selected_area
char
psz_time
[
OFFSETTO
TIME_MAX_SIZE
];
char
psz_time
[
MSTR
TIME_MAX_SIZE
];
gtk_label_set_text
(
GTK_LABEL
(
p_intf
->
p_sys
->
p_slider_label
),
input_OffsetToTime
(
p_intf
->
p_sys
->
p_input
,
psz_time
,
...
...
modules/gui/qt/intf.cpp
View file @
c3638c4d
...
...
@@ -2,7 +2,7 @@
* intf.cpp: Qt interface
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: intf.cpp,v 1.
4
2003/
07/23 01:13
:47 gbazin Exp $
* $Id: intf.cpp,v 1.
5
2003/
12/04 10:25
:47 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -264,7 +264,7 @@ void IntfWindow::DateDisplay( int i_range )
{
if
(
p_intf
->
p_sys
->
p_input
)
{
char
psz_time
[
OFFSETTO
TIME_MAX_SIZE
];
char
psz_time
[
MSTR
TIME_MAX_SIZE
];
vlc_mutex_lock
(
&
p_intf
->
p_sys
->
p_input
->
stream
.
stream_lock
);
p_date
->
setText
(
input_OffsetToTime
(
p_intf
->
p_sys
->
p_input
,
psz_time
,
...
...
modules/gui/wxwindows/interface.cpp
View file @
c3638c4d
...
...
@@ -2,7 +2,7 @@
* interface.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001, 2003 VideoLAN
* $Id: interface.cpp,v 1.7
5
2003/12/0
3
1
3:41:49 rocky
Exp $
* $Id: interface.cpp,v 1.7
6
2003/12/0
4
1
0:25:47 gbazin
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -1167,7 +1167,7 @@ void Interface::OnSliderUpdate( wxScrollEvent& event )
{
/* Update stream date */
#define p_area p_intf->p_sys->p_input->stream.p_selected_area
char
psz_time
[
OFFSETTO
TIME_MAX_SIZE
];
char
psz_time
[
MSTR
TIME_MAX_SIZE
];
slider_box
->
SetLabel
(
wxU
(
input_OffsetToTime
(
p_intf
->
p_sys
->
p_input
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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