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
2f6a9d1a
Commit
2f6a9d1a
authored
Jul 07, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use libvlc_media_instance_t instead of libvlc_input_t.
parent
4d4eb334
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
activex/vlccontrol2.cpp
activex/vlccontrol2.cpp
+6
-6
No files found.
activex/vlccontrol2.cpp
View file @
2f6a9d1a
...
@@ -2366,11 +2366,11 @@ STDMETHODIMP VLCVideo::get_teletext(long* page)
...
@@ -2366,11 +2366,11 @@ STDMETHODIMP VLCVideo::get_teletext(long* page)
libvlc_exception_t
ex
;
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_exception_init
(
&
ex
);
libvlc_
input_t
*
p_input
=
libvlc_playlist_get_input
(
p_libvlc
,
&
ex
);
libvlc_
media_instance_t
*
p_md
=
libvlc_playlist_get_media_instance
(
p_libvlc
,
&
ex
);
if
(
!
libvlc_exception_raised
(
&
ex
)
)
if
(
!
libvlc_exception_raised
(
&
ex
)
)
{
{
*
page
=
libvlc_video_get_teletext
(
p_
input
,
&
ex
);
*
page
=
libvlc_video_get_teletext
(
p_
md
,
&
ex
);
libvlc_
input_free
(
p_input
);
libvlc_
media_instance_release
(
p_md
);
if
(
!
libvlc_exception_raised
(
&
ex
)
)
if
(
!
libvlc_exception_raised
(
&
ex
)
)
{
{
return
NOERROR
;
return
NOERROR
;
...
@@ -2392,9 +2392,9 @@ STDMETHODIMP VLCVideo::put_teletext(long page)
...
@@ -2392,9 +2392,9 @@ STDMETHODIMP VLCVideo::put_teletext(long page)
libvlc_exception_t
ex
;
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_exception_init
(
&
ex
);
libvlc_
input_t
*
p_input
=
libvlc_playlist_get_input
(
p_libvlc
,
&
ex
);
libvlc_
media_instance_t
*
p_md
=
libvlc_playlist_get_media_instance
(
p_libvlc
,
&
ex
);
libvlc_video_set_teletext
(
p_
input
,
page
,
&
ex
);
libvlc_video_set_teletext
(
p_
md
,
page
,
&
ex
);
libvlc_
input_free
(
p_input
);
libvlc_
media_instance_release
(
p_md
);
if
(
libvlc_exception_raised
(
&
ex
)
)
if
(
libvlc_exception_raised
(
&
ex
)
)
{
{
_p_instance
->
setErrorInfo
(
IID_IVLCVideo
,
libvlc_exception_get_message
(
&
ex
));
_p_instance
->
setErrorInfo
(
IID_IVLCVideo
,
libvlc_exception_get_message
(
&
ex
));
...
...
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