Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
58b04763
Commit
58b04763
authored
Feb 01, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/framework: Remove this nasty hack, now that core is fixed.
parent
abcd6bc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
15 deletions
+2
-15
projects/macosx/framework/Sources/VLCVideoView.m
projects/macosx/framework/Sources/VLCVideoView.m
+2
-15
No files found.
projects/macosx/framework/Sources/VLCVideoView.m
View file @
58b04763
...
...
@@ -185,26 +185,13 @@
return
stretchesVideo
;
}
/* This is called by the libvlc module 'minimal_macosx' as soon as there is one
/* This is called by the libvlc module 'minimal_macosx' as soon as there is one
* vout available
*/
-
(
void
)
addVoutSubview
:(
NSView
*
)
aView
/* (Scheduled to deletion) */
{
/* This is where the real video comes from */
if
(
[[
self
subviews
]
count
]
)
{
/* XXX: This is a hack until core gets fixed */
NSUInteger
i
;
for
(
i
=
0
;
i
<
[[
self
subviews
]
count
];
i
++
)
{
[[[
self
subviews
]
objectAtIndex
:
i
]
detachFromVout
];
[[[
self
subviews
]
objectAtIndex
:
i
]
retain
];
[[[
self
subviews
]
objectAtIndex
:
i
]
removeFromSuperview
];
}
}
[
aView
setFrame
:[
self
bounds
]];
[
self
addSubview
:
aView
];
// TODO: Should we let the media player specify these values?
...
...
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