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
1312fe71
Commit
1312fe71
authored
Feb 14, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
User FIND_CHILD for zvbi in libvlc.
parent
71bd386b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/control/video.c
src/control/video.c
+3
-3
No files found.
src/control/video.c
View file @
1312fe71
...
@@ -517,7 +517,7 @@ int libvlc_video_get_teletext( libvlc_media_player_t *p_mi,
...
@@ -517,7 +517,7 @@ int libvlc_video_get_teletext( libvlc_media_player_t *p_mi,
if
(
!
p_vout
)
return
i_ret
;
if
(
!
p_vout
)
return
i_ret
;
p_vbi
=
(
vlc_object_t
*
)
vlc_object_find_name
(
p_vout
,
"zvbi"
,
p_vbi
=
(
vlc_object_t
*
)
vlc_object_find_name
(
p_vout
,
"zvbi"
,
FIND_
ANYWHERE
);
FIND_
CHILD
);
if
(
p_vbi
)
if
(
p_vbi
)
{
{
i_ret
=
var_GetInteger
(
p_vbi
,
"vbi-page"
);
i_ret
=
var_GetInteger
(
p_vbi
,
"vbi-page"
);
...
@@ -538,7 +538,7 @@ void libvlc_video_set_teletext( libvlc_media_player_t *p_mi, int i_page,
...
@@ -538,7 +538,7 @@ void libvlc_video_set_teletext( libvlc_media_player_t *p_mi, int i_page,
if
(
!
p_vout
)
return
;
if
(
!
p_vout
)
return
;
p_vbi
=
(
vlc_object_t
*
)
vlc_object_find_name
(
p_vout
,
"zvbi"
,
p_vbi
=
(
vlc_object_t
*
)
vlc_object_find_name
(
p_vout
,
"zvbi"
,
FIND_
ANYWHERE
);
FIND_
CHILD
);
if
(
p_vbi
)
if
(
p_vbi
)
{
{
i_ret
=
var_SetInteger
(
p_vbi
,
"vbi-page"
,
i_page
);
i_ret
=
var_SetInteger
(
p_vbi
,
"vbi-page"
,
i_page
);
...
@@ -568,7 +568,7 @@ void libvlc_toggle_teletext( libvlc_media_player_t *p_mi,
...
@@ -568,7 +568,7 @@ void libvlc_toggle_teletext( libvlc_media_player_t *p_mi,
const
bool
b_selected
=
var_GetInteger
(
p_input_thread
,
"teletext-es"
)
>=
0
;
const
bool
b_selected
=
var_GetInteger
(
p_input_thread
,
"teletext-es"
)
>=
0
;
p_vbi
=
(
vlc_object_t
*
)
vlc_object_find_name
(
p_input_thread
,
"zvbi"
,
p_vbi
=
(
vlc_object_t
*
)
vlc_object_find_name
(
p_input_thread
,
"zvbi"
,
FIND_
ANYWHERE
);
FIND_
CHILD
);
if
(
p_vbi
)
if
(
p_vbi
)
{
{
if
(
b_selected
)
if
(
b_selected
)
...
...
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