Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
f35e96de
Commit
f35e96de
authored
Sep 24, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX/Framework: Reenable play and pause.
parent
29cd2f90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
extras/MacOSX/Framework/Sources/VLCVideoView.m
extras/MacOSX/Framework/Sources/VLCVideoView.m
+9
-9
No files found.
extras/MacOSX/Framework/Sources/VLCVideoView.m
View file @
f35e96de
...
...
@@ -158,7 +158,7 @@ static void HandleMediaListPlayerStopped( const libvlc_event_t * event, void * s
{
libvlc_exception_t
p_e
;
libvlc_exception_init
(
&
p_e
);
//
libvlc_media_list_player_pause( p_mlp, &p_e );
libvlc_media_list_player_pause
(
p_mlp
,
&
p_e
);
quit_on_exception
(
&
p_e
);
}
...
...
@@ -170,14 +170,18 @@ static void HandleMediaListPlayerStopped( const libvlc_event_t * event, void * s
/* State */
-
(
BOOL
)
isPlaying
{
//libvlc_media_list_player_is_playing( p_mlp, &p_e );
//quit_on_exception( &p_e );
return
FALSE
;
libvlc_exception_t
p_e
;
BOOL
ret
=
libvlc_media_list_player_is_playing
(
p_mlp
,
&
p_e
);
quit_on_exception
(
&
p_e
);
return
ret
;
}
-
(
BOOL
)
isPaused
{
return
FALSE
;
libvlc_exception_t
p_e
;
libvlc_state_t
state
=
libvlc_media_list_player_get_state
(
p_mlp
,
&
p_e
);
quit_on_exception
(
&
p_e
);
return
(
state
==
libvlc_Paused
);
}
-
(
VLCTime
*
)
currentTime
...
...
@@ -234,10 +238,6 @@ static void HandleMediaListPlayerStopped( const libvlc_event_t * event, void * s
NSRectFill
(
aRect
);
[
self
unlockFocus
];
}
-
(
BOOL
)
preservesContentDuringLiveResize
{
return
NO
;
//YES;
}
-
(
BOOL
)
isOpaque
{
return
YES
;
...
...
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