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
ed79e42d
Commit
ed79e42d
authored
Jun 19, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mozilla: Yet more input->media_instance changes.
parent
25354a0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mozilla/control/npovlc.cpp
mozilla/control/npovlc.cpp
+5
-5
No files found.
mozilla/control/npovlc.cpp
View file @
ed79e42d
...
...
@@ -165,7 +165,7 @@ RuntimeNPObject::InvokeResult VlcNPObject::invoke(int index, const NPVariant *ar
case
ID_fullscreen
:
/* deprecated */
if
(
argCount
==
0
)
{
libvlc_media_instance_t
*
p_md
=
libvlc_playlist_get_
input
(
p_plugin
->
getVLC
(),
&
ex
);
libvlc_media_instance_t
*
p_md
=
libvlc_playlist_get_
media_instance
(
p_plugin
->
getVLC
(),
&
ex
);
if
(
p_md
)
{
libvlc_toggle_fullscreen
(
p_md
,
&
ex
);
...
...
@@ -529,7 +529,7 @@ RuntimeNPObject::InvokeResult VlcNPObject::invoke(int index, const NPVariant *ar
case
ID_get_length
:
/* deprecated */
if
(
argCount
==
0
)
{
libvlc_media_instance_t
*
p_md
=
libvlc_playlist_get_
input
(
p_plugin
->
getVLC
(),
&
ex
);
libvlc_media_instance_t
*
p_md
=
libvlc_playlist_get_
media_instance
(
p_plugin
->
getVLC
(),
&
ex
);
if
(
p_md
)
{
vlc_int64_t
val
=
libvlc_media_instance_get_length
(
p_md
,
&
ex
);
...
...
@@ -561,7 +561,7 @@ RuntimeNPObject::InvokeResult VlcNPObject::invoke(int index, const NPVariant *ar
case
ID_get_position
:
/* deprecated */
if
(
argCount
==
0
)
{
libvlc_media_instance_t
*
p_md
=
libvlc_playlist_get_
input
(
p_plugin
->
getVLC
(),
&
ex
);
libvlc_media_instance_t
*
p_md
=
libvlc_playlist_get_
media_instance
(
p_plugin
->
getVLC
(),
&
ex
);
if
(
p_md
)
{
float
val
=
libvlc_media_instance_get_position
(
p_md
,
&
ex
);
...
...
@@ -593,7 +593,7 @@ RuntimeNPObject::InvokeResult VlcNPObject::invoke(int index, const NPVariant *ar
case
ID_get_time
:
/* deprecated */
if
(
argCount
==
0
)
{
libvlc_media_instance_t
*
p_md
=
libvlc_playlist_get_
input
(
p_plugin
->
getVLC
(),
&
ex
);
libvlc_media_instance_t
*
p_md
=
libvlc_playlist_get_
media_instance
(
p_plugin
->
getVLC
(),
&
ex
);
if
(
p_md
)
{
vlc_int64_t
val
=
libvlc_media_instance_get_time
(
p_md
,
&
ex
);
...
...
@@ -627,7 +627,7 @@ RuntimeNPObject::InvokeResult VlcNPObject::invoke(int index, const NPVariant *ar
&&
isNumberValue
(
args
[
0
])
&&
NPVARIANT_IS_BOOLEAN
(
args
[
1
])
)
{
libvlc_media_instance_t
*
p_md
=
libvlc_playlist_get_
input
(
p_plugin
->
getVLC
(),
&
ex
);
libvlc_media_instance_t
*
p_md
=
libvlc_playlist_get_
media_instance
(
p_plugin
->
getVLC
(),
&
ex
);
if
(
p_md
)
{
vlc_int64_t
pos
=
0
;
...
...
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