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
4ad5f907
Commit
4ad5f907
authored
Dec 20, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
osx/framework: added a bit more exception handling
parent
5203cf9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
7 deletions
+28
-7
projects/macosx/framework/Sources/VLCMediaPlayer.m
projects/macosx/framework/Sources/VLCMediaPlayer.m
+28
-7
No files found.
projects/macosx/framework/Sources/VLCMediaPlayer.m
View file @
4ad5f907
...
...
@@ -260,7 +260,10 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
-
(
void
)
setVideoAspectRatio
:(
char
*
)
value
{
libvlc_video_set_aspect_ratio
(
instance
,
value
,
NULL
);
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_video_set_aspect_ratio
(
instance
,
value
,
&
ex
);
catch_exception
(
&
ex
);
}
-
(
char
*
)
videoAspectRatio
...
...
@@ -274,7 +277,10 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
-
(
void
)
setVideoSubTitles
:(
int
)
value
{
libvlc_video_set_spu
(
instance
,
value
,
NULL
);
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_video_set_spu
(
instance
,
value
,
&
ex
);
catch_exception
(
&
ex
);
}
-
(
int
)
videoSubTitles
...
...
@@ -288,7 +294,10 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
-
(
void
)
setVideoCropGeometry
:(
char
*
)
value
{
libvlc_video_set_crop_geometry
(
instance
,
value
,
NULL
);
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_video_set_crop_geometry
(
instance
,
value
,
&
ex
);
catch_exception
(
&
ex
);
}
-
(
char
*
)
videoCropGeometry
...
...
@@ -302,7 +311,10 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
-
(
void
)
setVideoTeleText
:(
int
)
value
{
libvlc_video_set_teletext
(
instance
,
value
,
NULL
);
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_video_set_teletext
(
instance
,
value
,
&
ex
);
catch_exception
(
&
ex
);
}
-
(
int
)
videoTeleText
...
...
@@ -332,7 +344,10 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
-
(
void
)
setRate
:(
float
)
value
{
libvlc_media_player_set_rate
(
instance
,
value
,
NULL
);
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_media_player_set_rate
(
instance
,
value
,
&
ex
);
catch_exception
(
&
ex
);
}
-
(
float
)
rate
...
...
@@ -480,7 +495,10 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
-
(
void
)
setAudioTrack
:(
int
)
value
{
libvlc_audio_set_track
(
instance
,
value
,
NULL
);
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_audio_set_track
(
instance
,
value
,
&
ex
);
catch_exception
(
&
ex
);
}
-
(
int
)
audioTrack
...
...
@@ -503,7 +521,10 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
-
(
void
)
setAudioChannel
:(
int
)
value
{
libvlc_audio_set_channel
(
instance
,
value
,
NULL
);
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_audio_set_channel
(
instance
,
value
,
&
ex
);
catch_exception
(
&
ex
);
}
-
(
int
)
audioChannel
...
...
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