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
befe44b9
Commit
befe44b9
authored
Jun 19, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mozilla: More input->media_instance changes.
parent
bcf220f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
mozilla/vlcshell.cpp
mozilla/vlcshell.cpp
+9
-9
No files found.
mozilla/vlcshell.cpp
View file @
befe44b9
...
...
@@ -184,11 +184,11 @@ int16 NPP_HandleEvent( NPP instance, void * event )
{
if
(
libvlc_playlist_isplaying
(
p_vlc
,
NULL
)
)
{
libvlc_
input_t
*
p_input
=
libvlc_playlist_get_input
(
p_vlc
,
NULL
);
if
(
p_
input
)
libvlc_
media_instance_t
*
p_mp
=
libvlc_playlist_get_media_instance
(
p_vlc
,
NULL
);
if
(
p_
md
)
{
libvlc_toggle_fullscreen
(
p_
input
,
NULL
);
libvlc_
input_free
(
p_input
);
libvlc_toggle_fullscreen
(
p_
mp
,
NULL
);
libvlc_
media_instance_destroy_and_release
(
p_mp
);
}
}
}
...
...
@@ -214,10 +214,10 @@ int16 NPP_HandleEvent( NPP instance, void * event )
{
if
(
libvlc_playlist_isplaying
(
p_vlc
,
NULL
)
)
{
libvlc_
input_t
*
p_input
=
libvlc_playlist_get_input
(
p_vlc
,
NULL
);
if
(
p_
input
)
libvlc_
media_instance_t
*
p_md
=
libvlc_playlist_get_media_instance
(
p_vlc
,
NULL
);
if
(
p_
md
)
{
hasVout
=
libvlc_
input_has_vout
(
p_input
,
NULL
);
hasVout
=
libvlc_
media_instance_has_vout
(
p_md
,
NULL
);
if
(
hasVout
)
{
libvlc_rectangle_t
area
;
...
...
@@ -225,9 +225,9 @@ int16 NPP_HandleEvent( NPP instance, void * event )
area
.
top
=
0
;
area
.
right
=
npwindow
.
width
;
area
.
bottom
=
npwindow
.
height
;
libvlc_video_redraw_rectangle
(
p_
input
,
&
area
,
NULL
);
libvlc_video_redraw_rectangle
(
p_
md
,
&
area
,
NULL
);
}
libvlc_
input_free
(
p_input
);
libvlc_
media_instance_destroy_and_detach
(
p_md
);
}
}
}
...
...
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