Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
09d8db82
Commit
09d8db82
authored
Jan 25, 2004
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules/video_filter/logo.c:
* correctly name the config options( logo-foo not logo_foo )
parent
262b0474
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
modules/video_filter/logo.c
modules/video_filter/logo.c
+11
-11
No files found.
modules/video_filter/logo.c
View file @
09d8db82
...
...
@@ -2,7 +2,7 @@
* logo.c : logo video plugin for vlc
*****************************************************************************
* Copyright (C) 2003-2004 VideoLAN
* $Id: logo.c,v 1.
8 2004/01/25 10:17:19 gbazin
Exp $
* $Id: logo.c,v 1.
9 2004/01/25 15:55:37 sigmunau
Exp $
*
* Authors: Simon Latapie <garf@videolan.org>
*
...
...
@@ -66,10 +66,10 @@ static int MouseEvent( vlc_object_t *, char const *,
vlc_module_begin
();
add_category_hint
(
N_
(
"logo"
),
NULL
,
VLC_FALSE
);
add_file
(
"logo
_
file"
,
NULL
,
NULL
,
FILE_TEXT
,
FILE_LONGTEXT
,
VLC_FALSE
);
add_integer
(
"logo
_
x"
,
0
,
NULL
,
POSX_TEXT
,
POSX_LONGTEXT
,
VLC_FALSE
);
add_integer
(
"logo
_
y"
,
0
,
NULL
,
POSY_TEXT
,
POSY_LONGTEXT
,
VLC_FALSE
);
add_integer_with_range
(
"logo
_
transparency"
,
255
,
0
,
255
,
NULL
,
TRANS_TEXT
,
TRANS_LONGTEXT
,
VLC_FALSE
);
add_file
(
"logo
-
file"
,
NULL
,
NULL
,
FILE_TEXT
,
FILE_LONGTEXT
,
VLC_FALSE
);
add_integer
(
"logo
-
x"
,
0
,
NULL
,
POSX_TEXT
,
POSX_LONGTEXT
,
VLC_FALSE
);
add_integer
(
"logo
-
y"
,
0
,
NULL
,
POSY_TEXT
,
POSY_LONGTEXT
,
VLC_FALSE
);
add_integer_with_range
(
"logo
-
transparency"
,
255
,
0
,
255
,
NULL
,
TRANS_TEXT
,
TRANS_LONGTEXT
,
VLC_FALSE
);
set_description
(
_
(
"Logo video filter"
)
);
set_capability
(
"video filter"
,
0
);
add_shortcut
(
"logo"
);
...
...
@@ -150,7 +150,7 @@ static int Init( vout_thread_t *p_vout )
int
i_parity_height
;
/* read png file */
filename
=
config_GetPsz
(
p_vout
,
"logo
_
file"
);
filename
=
config_GetPsz
(
p_vout
,
"logo
-
file"
);
fp
=
fopen
(
filename
,
"rb"
);
png_ptr
=
png_create_read_struct
(
PNG_LIBPNG_VER_STRING
,
NULL
,
NULL
,
NULL
);
info_ptr
=
png_create_info_struct
(
png_ptr
);
...
...
@@ -279,9 +279,9 @@ static int Init( vout_thread_t *p_vout )
ADD_PARENT_CALLBACKS
(
SendEventsToChild
);
p_vout
->
p_sys
->
posx
=
config_GetInt
(
p_vout
,
"logo
_
x"
);
p_vout
->
p_sys
->
posy
=
config_GetInt
(
p_vout
,
"logo
_
y"
);
p_vout
->
p_sys
->
trans
=
config_GetInt
(
p_vout
,
"logo
_
transparency"
);
p_vout
->
p_sys
->
posx
=
config_GetInt
(
p_vout
,
"logo
-
x"
);
p_vout
->
p_sys
->
posy
=
config_GetInt
(
p_vout
,
"logo
-
y"
);
p_vout
->
p_sys
->
trans
=
config_GetInt
(
p_vout
,
"logo
-
transparency"
);
return
VLC_SUCCESS
;
}
...
...
@@ -307,8 +307,8 @@ static void End( vout_thread_t *p_vout )
vlc_object_detach
(
p_vout
->
p_sys
->
p_vout
);
vout_Destroy
(
p_vout
->
p_sys
->
p_vout
);
config_PutInt
(
p_vout
,
"logo
_
x"
,
p_vout
->
p_sys
->
posx
);
config_PutInt
(
p_vout
,
"logo
_
y"
,
p_vout
->
p_sys
->
posy
);
config_PutInt
(
p_vout
,
"logo
-
x"
,
p_vout
->
p_sys
->
posx
);
config_PutInt
(
p_vout
,
"logo
-
y"
,
p_vout
->
p_sys
->
posy
);
if
(
p_vout
->
p_sys
->
error
==
0
)
{
...
...
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