Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
3099949d
Commit
3099949d
authored
Jun 03, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable non implemented code to get build bot back.
parent
71c196e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
projects/mozilla/vlcshell.cpp
projects/mozilla/vlcshell.cpp
+8
-2
No files found.
projects/mozilla/vlcshell.cpp
View file @
3099949d
...
@@ -208,12 +208,16 @@ int16 NPP_HandleEvent( NPP instance, void * event )
...
@@ -208,12 +208,16 @@ int16 NPP_HandleEvent( NPP instance, void * event )
hasVout
=
p_plugin
->
player_has_vout
(
NULL
);
hasVout
=
p_plugin
->
player_has_vout
(
NULL
);
if
(
hasVout
)
if
(
hasVout
)
{
{
#ifdef NOT_WORKING
libvlc_rectangle_t
area
;
libvlc_rectangle_t
area
;
area
.
left
=
0
;
area
.
left
=
0
;
area
.
top
=
0
;
area
.
top
=
0
;
area
.
right
=
npwindow
.
width
;
area
.
right
=
npwindow
.
width
;
area
.
bottom
=
npwindow
.
height
;
area
.
bottom
=
npwindow
.
height
;
libvlc_video_redraw_rectangle
(
p_plugin
->
getMD
(
&
ex
),
&
area
,
NULL
);
libvlc_video_redraw_rectangle
(
p_plugin
->
getMD
(
&
ex
),
&
area
,
NULL
);
#else
#warning disabled code
#endif
}
}
}
}
libvlc_exception_clear
(
&
ex
);
libvlc_exception_clear
(
&
ex
);
...
@@ -406,10 +410,12 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
...
@@ -406,10 +410,12 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
clip
.
left
=
window
->
clipRect
.
left
;
clip
.
left
=
window
->
clipRect
.
left
;
clip
.
bottom
=
window
->
clipRect
.
bottom
;
clip
.
bottom
=
window
->
clipRect
.
bottom
;
clip
.
right
=
window
->
clipRect
.
right
;
clip
.
right
=
window
->
clipRect
.
right
;
#ifdef NOT_WORKING
libvlc_video_set_viewport
(
p_vlc
,
p_plugin
->
getMD
(
&
ex
),
&
view
,
&
clip
,
&
ex
);
libvlc_video_set_viewport
(
p_vlc
,
p_plugin
->
getMD
(
&
ex
),
&
view
,
&
clip
,
&
ex
);
libvlc_exception_clear
(
&
ex
);
libvlc_exception_clear
(
&
ex
);
#else
#warning disabled code
#endif
/* remember new window */
/* remember new window */
p_plugin
->
setWindow
(
*
window
);
p_plugin
->
setWindow
(
*
window
);
}
}
...
...
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