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
f6357388
Commit
f6357388
authored
Aug 17, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc_video*: constify.
parent
3a0036f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
include/vlc/libvlc_media_player.h
include/vlc/libvlc_media_player.h
+3
-3
src/control/video.c
src/control/video.c
+5
-5
No files found.
include/vlc/libvlc_media_player.h
View file @
f6357388
...
...
@@ -594,7 +594,7 @@ VLC_PUBLIC_API char *libvlc_video_get_aspect_ratio( libvlc_media_player_t *, lib
* \param psz_aspect new video aspect-ratio
* \param p_e an initialized exception pointer
*/
VLC_PUBLIC_API
void
libvlc_video_set_aspect_ratio
(
libvlc_media_player_t
*
,
char
*
,
libvlc_exception_t
*
);
VLC_PUBLIC_API
void
libvlc_video_set_aspect_ratio
(
libvlc_media_player_t
*
,
c
onst
c
har
*
,
libvlc_exception_t
*
);
/**
* Get current video subtitle.
...
...
@@ -641,7 +641,7 @@ VLC_PUBLIC_API void libvlc_video_set_spu( libvlc_media_player_t *, int , libvlc_
* \param p_e an initialized exception pointer
* \return the success status (boolean)
*/
VLC_PUBLIC_API
int
libvlc_video_set_subtitle_file
(
libvlc_media_player_t
*
,
char
*
,
libvlc_exception_t
*
);
VLC_PUBLIC_API
int
libvlc_video_set_subtitle_file
(
libvlc_media_player_t
*
,
c
onst
c
har
*
,
libvlc_exception_t
*
);
/**
* Get the description of available titles.
...
...
@@ -680,7 +680,7 @@ VLC_PUBLIC_API char *libvlc_video_get_crop_geometry( libvlc_media_player_t *, li
* \param psz_geometry new crop filter geometry
* \param p_e an initialized exception pointer
*/
VLC_PUBLIC_API
void
libvlc_video_set_crop_geometry
(
libvlc_media_player_t
*
,
char
*
,
libvlc_exception_t
*
);
VLC_PUBLIC_API
void
libvlc_video_set_crop_geometry
(
libvlc_media_player_t
*
,
c
onst
c
har
*
,
libvlc_exception_t
*
);
/**
* Toggle teletext transparent status on video output.
...
...
src/control/video.c
View file @
f6357388
...
...
@@ -222,10 +222,10 @@ void libvlc_video_set_scale( libvlc_media_player_t *p_mp, float f_scale,
char
*
libvlc_video_get_aspect_ratio
(
libvlc_media_player_t
*
p_mi
,
libvlc_exception_t
*
p_e
)
{
char
*
psz_aspect
=
0
;
char
*
psz_aspect
=
NULL
;
vout_thread_t
*
p_vout
=
GetVout
(
p_mi
,
p_e
);
if
(
!
p_vout
)
return
0
;
if
(
!
p_vout
)
return
NULL
;
psz_aspect
=
var_GetNonEmptyString
(
p_vout
,
"aspect-ratio"
);
vlc_object_release
(
p_vout
);
...
...
@@ -233,7 +233,7 @@ char *libvlc_video_get_aspect_ratio( libvlc_media_player_t *p_mi,
}
void
libvlc_video_set_aspect_ratio
(
libvlc_media_player_t
*
p_mi
,
char
*
psz_aspect
,
libvlc_exception_t
*
p_e
)
c
onst
c
har
*
psz_aspect
,
libvlc_exception_t
*
p_e
)
{
vout_thread_t
*
p_vout
=
GetVout
(
p_mi
,
p_e
);
int
i_ret
=
-
1
;
...
...
@@ -341,7 +341,7 @@ end:
}
int
libvlc_video_set_subtitle_file
(
libvlc_media_player_t
*
p_mi
,
char
*
psz_subtitle
,
c
onst
c
har
*
psz_subtitle
,
libvlc_exception_t
*
p_e
)
{
input_thread_t
*
p_input_thread
=
libvlc_get_input_thread
(
p_mi
,
p_e
);
...
...
@@ -387,7 +387,7 @@ char *libvlc_video_get_crop_geometry( libvlc_media_player_t *p_mi,
}
void
libvlc_video_set_crop_geometry
(
libvlc_media_player_t
*
p_mi
,
char
*
psz_geometry
,
libvlc_exception_t
*
p_e
)
const
char
*
psz_geometry
,
libvlc_exception_t
*
p_e
)
{
vout_thread_t
*
p_vout
=
GetVout
(
p_mi
,
p_e
);
int
i_ret
=
-
1
;
...
...
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