Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
6ffd34f1
Commit
6ffd34f1
authored
Sep 24, 2003
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/visualization/visual/visual.c: fixed strings
* src/playlist/playlist.c: fixed sorting
parent
f056f1fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
modules/visualization/visual/visual.c
modules/visualization/visual/visual.c
+5
-5
src/playlist/playlist.c
src/playlist/playlist.c
+6
-7
No files found.
modules/visualization/visual/visual.c
View file @
6ffd34f1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* visual.c : Visualisation system
* visual.c : Visualisation system
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* Copyright (C) 2002 VideoLAN
* $Id: visual.c,v 1.
9 2003/09/20 00:37:53 fenrir
Exp $
* $Id: visual.c,v 1.
10 2003/09/24 10:21:32 zorglub
Exp $
*
*
* Authors: Clment Stenac <zorglub@via.ecp.fr>
* Authors: Clment Stenac <zorglub@via.ecp.fr>
*
*
...
@@ -41,13 +41,13 @@
...
@@ -41,13 +41,13 @@
"Current effects include: dummy, random, scope, spectrum" )
"Current effects include: dummy, random, scope, spectrum" )
#define WIDTH_TEXT N_( "Video width" )
#define WIDTH_TEXT N_( "Video width" )
#define HEIGHT_LONGTEXT N_( \
"The width of the effects video window, in pixels." )
#define HEIGHT_TEXT N_( "Video width" )
#define WIDTH_LONGTEXT N_( \
#define WIDTH_LONGTEXT N_( \
"The width of the effects video window, in pixels." )
"The width of the effects video window, in pixels." )
#define HEIGHT_TEXT N_( "Video height" )
#define HEIGHT_LONGTEXT N_( \
"The height of the effects video window, in pixels." )
#define NBBANDS_TEXT N_( "Number of bands" )
#define NBBANDS_TEXT N_( "Number of bands" )
#define NBBANDS_LONGTEXT N_( \
#define NBBANDS_LONGTEXT N_( \
"Number of bands used by spectrum analizer, should be 20 or 80" )
"Number of bands used by spectrum analizer, should be 20 or 80" )
...
...
src/playlist/playlist.c
View file @
6ffd34f1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* playlist.c : Playlist management functions
* playlist.c : Playlist management functions
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: playlist.c,v 1.5
5 2003/09/22 14:40:1
2 zorglub Exp $
* $Id: playlist.c,v 1.5
6 2003/09/24 10:21:3
2 zorglub Exp $
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
*
*
...
@@ -73,7 +73,7 @@ playlist_t * __playlist_Create ( vlc_object_t *p_parent )
...
@@ -73,7 +73,7 @@ playlist_t * __playlist_Create ( vlc_object_t *p_parent )
var_Create
(
p_playlist
,
"intf-show"
,
VLC_VAR_BOOL
);
var_Create
(
p_playlist
,
"intf-show"
,
VLC_VAR_BOOL
);
val
.
b_bool
=
VLC_TRUE
;
val
.
b_bool
=
VLC_TRUE
;
var_Set
(
p_playlist
,
"intf-show"
,
val
);
var_Set
(
p_playlist
,
"intf-show"
,
val
);
var_Create
(
p_playlist
,
"random"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"random"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"repeat"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"repeat"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"loop"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"loop"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
...
@@ -380,7 +380,7 @@ int playlist_Sort( playlist_t * p_playlist , int i_type )
...
@@ -380,7 +380,7 @@ int playlist_Sort( playlist_t * p_playlist , int i_type )
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
for
(
i_position
=
0
;
i_position
<
=
p_playlist
->
i_size
-
1
;
i_position
++
)
for
(
i_position
=
0
;
i_position
<
p_playlist
->
i_size
-
1
;
i_position
++
)
{
{
i_small
=
i_position
;
i_small
=
i_position
;
for
(
i
=
i_position
+
1
;
i
<
p_playlist
->
i_size
;
i
++
)
for
(
i
=
i_position
+
1
;
i
<
p_playlist
->
i_size
;
i
++
)
...
@@ -395,11 +395,10 @@ int playlist_Sort( playlist_t * p_playlist , int i_type )
...
@@ -395,11 +395,10 @@ int playlist_Sort( playlist_t * p_playlist , int i_type )
{
{
i_small
=
i
;
i_small
=
i
;
}
}
p_temp
=
p_playlist
->
pp_items
[
i_position
];
p_playlist
->
pp_items
[
i_position
]
=
p_playlist
->
pp_items
[
i_small
];
p_playlist
->
pp_items
[
i_small
]
=
p_temp
;
}
}
p_temp
=
p_playlist
->
pp_items
[
i_position
];
p_playlist
->
pp_items
[
i_position
]
=
p_playlist
->
pp_items
[
i_small
];
p_playlist
->
pp_items
[
i_small
]
=
p_temp
;
}
}
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
...
...
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