Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
f3128ac1
Commit
f3128ac1
authored
Jun 13, 2008
by
Pierre d'Herbemont
Browse files
libvlc_video: Rename p_vout1->p_vout.
parent
57530c1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/control/video.c
View file @
f3128ac1
...
@@ -81,7 +81,7 @@ int libvlc_get_fullscreen( libvlc_media_player_t *p_mi,
...
@@ -81,7 +81,7 @@ int libvlc_get_fullscreen( libvlc_media_player_t *p_mi,
if
(
!
p_vout
)
if
(
!
p_vout
)
return
0
;
return
0
;
i_ret
=
var_GetBool
(
p_vout
,
"fullscreen"
,
&
val
);
i_ret
=
var_GetBool
(
p_vout
,
"fullscreen"
);
vlc_object_release
(
p_vout
);
vlc_object_release
(
p_vout
);
...
@@ -98,8 +98,8 @@ void libvlc_toggle_fullscreen( libvlc_media_player_t *p_mi,
...
@@ -98,8 +98,8 @@ void libvlc_toggle_fullscreen( libvlc_media_player_t *p_mi,
/* GetVout will raise the exception for us */
/* GetVout will raise the exception for us */
if
(
!
p_vout
)
return
;
if
(
!
p_vout
)
return
;
ret
=
var_GetBool
(
p_vout
,
"fullscreen"
,
&
val
);
ret
=
var_GetBool
(
p_vout
,
"fullscreen"
);
var_SetBool
(
p_vout
1
,
"fullscreen"
,
!
ret
);
var_SetBool
(
p_vout
,
"fullscreen"
,
!
ret
);
vlc_object_release
(
p_vout
);
vlc_object_release
(
p_vout
);
}
}
...
@@ -143,25 +143,25 @@ libvlc_video_take_snapshot( libvlc_media_player_t *p_mi, char *psz_filepath,
...
@@ -143,25 +143,25 @@ libvlc_video_take_snapshot( libvlc_media_player_t *p_mi, char *psz_filepath,
int
libvlc_video_get_height
(
libvlc_media_player_t
*
p_mi
,
int
libvlc_video_get_height
(
libvlc_media_player_t
*
p_mi
,
libvlc_exception_t
*
p_e
)
libvlc_exception_t
*
p_e
)
{
{
vout_thread_t
*
p_vout
1
=
GetVout
(
p_mi
,
p_e
);
vout_thread_t
*
p_vout
=
GetVout
(
p_mi
,
p_e
);
if
(
!
p_vout
1
)
if
(
!
p_vout
)
return
0
;
return
0
;
vlc_object_release
(
p_vout
1
);
vlc_object_release
(
p_vout
);
return
p_vout
1
->
i_window_height
;
return
p_vout
->
i_window_height
;
}
}
int
libvlc_video_get_width
(
libvlc_media_player_t
*
p_mi
,
int
libvlc_video_get_width
(
libvlc_media_player_t
*
p_mi
,
libvlc_exception_t
*
p_e
)
libvlc_exception_t
*
p_e
)
{
{
vout_thread_t
*
p_vout
1
=
GetVout
(
p_mi
,
p_e
);
vout_thread_t
*
p_vout
=
GetVout
(
p_mi
,
p_e
);
if
(
!
p_vout
1
)
if
(
!
p_vout
)
return
0
;
return
0
;
vlc_object_release
(
p_vout
1
);
vlc_object_release
(
p_vout
);
return
p_vout
1
->
i_window_width
;
return
p_vout
->
i_window_width
;
}
}
int
libvlc_media_player_has_vout
(
libvlc_media_player_t
*
p_mi
,
int
libvlc_media_player_has_vout
(
libvlc_media_player_t
*
p_mi
,
...
...
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