Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
da87f0fe
Commit
da87f0fe
authored
Jan 26, 2010
by
JP Dinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor libvlc_video_{get,set}_{marquee,logo}_{int,string}.
parent
3a6c32a6
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
182 additions
and
238 deletions
+182
-238
include/vlc/libvlc_media_player.h
include/vlc/libvlc_media_player.h
+10
-15
src/control/video.c
src/control/video.c
+172
-223
No files found.
include/vlc/libvlc_media_player.h
View file @
da87f0fe
...
...
@@ -81,10 +81,11 @@ typedef struct libvlc_rectangle_t
}
libvlc_rectangle_t
;
/**
* Marq
int
options definition
* Marq options definition
*/
typedef
enum
libvlc_video_marquee_
int_
option_t
{
typedef
enum
libvlc_video_marquee_option_t
{
libvlc_marquee_Enable
=
0
,
libvlc_marquee_Text
,
/** string argument */
libvlc_marquee_Color
,
libvlc_marquee_Opacity
,
libvlc_marquee_Position
,
...
...
@@ -93,15 +94,7 @@ typedef enum libvlc_video_marquee_int_option_t {
libvlc_marquee_Timeout
,
libvlc_marquee_X
,
libvlc_marquee_Y
}
libvlc_video_marquee_int_option_t
;
/**
* Marq string options definition
*/
typedef
enum
libvlc_video_marquee_string_option_t
{
libvlc_marquee_Text
=
0
}
libvlc_video_marquee_string_option_t
;
}
libvlc_video_marquee_option_t
;
/**
* Create an empty Media Player object
...
...
@@ -807,7 +800,7 @@ VLC_PUBLIC_API void libvlc_video_set_deinterlace( libvlc_media_player_t *,
libvlc_exception_t
*
);
/**
* Get an integer option value
* Get an integer
marquee
option value
*
* \param p_mi libvlc media player
* \param option marq option to get \see libvlc_video_marquee_int_option_t
...
...
@@ -817,7 +810,7 @@ VLC_PUBLIC_API int libvlc_video_get_marquee_int( libvlc_media_player_t *,
unsigned
,
libvlc_exception_t
*
);
/**
* Get a string option value
* Get a string
marquee
option value
*
* \param p_mi libvlc media player
* \param option marq option to get \see libvlc_video_marquee_string_option_t
...
...
@@ -827,7 +820,7 @@ VLC_PUBLIC_API char *libvlc_video_get_marquee_string( libvlc_media_player_t *,
unsigned
,
libvlc_exception_t
*
);
/**
* Enable, disable or set an integer marq option
* Enable, disable or set an integer marq
uee
option
*
* Setting libvlc_marquee_Enable has the side effect of enabling (arg !0)
* or disabling (arg 0) the marq filter.
...
...
@@ -841,7 +834,7 @@ VLC_PUBLIC_API void libvlc_video_set_marquee_int( libvlc_media_player_t *,
unsigned
,
int
,
libvlc_exception_t
*
);
/**
* Set a marq string option
* Set a marq
uee
string option
*
* \param p_mi libvlc media player
* \param option marq option to set \see libvlc_video_marquee_string_option_t
...
...
@@ -851,6 +844,7 @@ VLC_PUBLIC_API void libvlc_video_set_marquee_int( libvlc_media_player_t *,
VLC_PUBLIC_API
void
libvlc_video_set_marquee_string
(
libvlc_media_player_t
*
,
unsigned
,
const
char
*
,
libvlc_exception_t
*
);
/** option values for libvlc_video_{get,set}_logo_{int,string} */
enum
libvlc_video_logo_option_t
{
libvlc_logo_enable
,
libvlc_logo_file
,
/**< string argument, "file,d,t;file,d,t;..." */
...
...
@@ -898,6 +892,7 @@ VLC_PUBLIC_API void libvlc_video_set_logo_int( libvlc_media_player_t *p_mi,
VLC_PUBLIC_API
void
libvlc_video_set_logo_string
(
libvlc_media_player_t
*
p_mi
,
unsigned
option
,
const
char
*
psz_value
,
libvlc_exception_t
*
p_e
);
/** @} video */
/** \defgroup libvlc_audio libvlc_audio
...
...
src/control/video.c
View file @
da87f0fe
This diff is collapsed.
Click to expand it.
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