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
e50b4711
Commit
e50b4711
authored
Jan 24, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlcpp: fix compilation.
parent
07867ac8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
16 deletions
+8
-16
bindings/libvlcpp/src/media_player.cpp
bindings/libvlcpp/src/media_player.cpp
+8
-16
No files found.
bindings/libvlcpp/src/media_player.cpp
View file @
e50b4711
...
...
@@ -45,14 +45,12 @@ MediaPlayer::~MediaPlayer()
void
MediaPlayer
::
setMedia
(
Media
&
media
)
{
Exception
ex
;
libvlc_media_player_set_media
(
m_player
,
media
.
instance
(),
&
ex
.
ex
);
libvlc_media_player_set_media
(
m_player
,
media
.
instance
()
);
}
int
MediaPlayer
::
isPlaying
()
{
Exception
ex
;
return
libvlc_media_player_is_playing
(
m_player
,
&
ex
.
ex
);
return
libvlc_media_player_is_playing
(
m_player
);
}
void
MediaPlayer
::
play
()
...
...
@@ -69,14 +67,12 @@ void MediaPlayer::pause()
void
MediaPlayer
::
stop
()
{
Exception
ex
;
libvlc_media_player_stop
(
m_player
,
&
ex
.
ex
);
libvlc_media_player_stop
(
m_player
);
}
void
MediaPlayer
::
setNSObject
(
void
*
drawable
)
{
Exception
ex
;
libvlc_media_player_set_nsobject
(
m_player
,
drawable
,
&
ex
.
ex
);
libvlc_media_player_set_nsobject
(
m_player
,
drawable
);
}
void
*
MediaPlayer
::
nsobject
()
...
...
@@ -86,8 +82,7 @@ void* MediaPlayer::nsobject()
void
MediaPlayer
::
setAgl
(
uint32_t
drawable
)
{
Exception
ex
;
libvlc_media_player_set_agl
(
m_player
,
drawable
,
&
ex
.
ex
);
libvlc_media_player_set_agl
(
m_player
,
drawable
);
}
uint32_t
MediaPlayer
::
agl
()
...
...
@@ -97,8 +92,7 @@ uint32_t MediaPlayer::agl()
void
MediaPlayer
::
setXWindow
(
uint32_t
drawable
)
{
Exception
ex
;
libvlc_media_player_set_xwindow
(
m_player
,
drawable
,
&
ex
.
ex
);
libvlc_media_player_set_xwindow
(
m_player
,
drawable
);
}
uint32_t
MediaPlayer
::
xwindow
()
...
...
@@ -108,8 +102,7 @@ uint32_t MediaPlayer::xwindow()
void
MediaPlayer
::
setHwnd
(
void
*
drawable
)
{
Exception
ex
;
libvlc_media_player_set_hwnd
(
m_player
,
drawable
,
&
ex
.
ex
);
libvlc_media_player_set_hwnd
(
m_player
,
drawable
);
}
void
*
MediaPlayer
::
hwnd
()
...
...
@@ -221,8 +214,7 @@ void MediaPlayer::setRate( float rate )
libvlc_state_t
MediaPlayer
::
state
()
{
Exception
ex
;
return
libvlc_media_player_get_state
(
m_player
,
&
ex
.
ex
);
return
libvlc_media_player_get_state
(
m_player
);
}
float
MediaPlayer
::
fps
()
...
...
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