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
0668d607
Commit
0668d607
authored
Jan 07, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX/Framework/VLCMedia.m: Fix previous commit's warnings.
parent
be3f7560
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
extras/MacOSX/Framework/Sources/VLCMedia.m
extras/MacOSX/Framework/Sources/VLCMedia.m
+12
-10
No files found.
extras/MacOSX/Framework/Sources/VLCMedia.m
View file @
0668d607
...
...
@@ -52,6 +52,13 @@ NSString * VLCMetaInformationTrackID = @"trackID";
/* Notification Messages */
NSString
*
VLCMediaMetaChanged
=
@"VLCMediaMetaChanged"
;
/******************************************************************************
* @property (readwrite)
*/
@interface
VLCMedia
()
@property
(
readwrite
)
VLCMediaState
state
;
@end
/******************************************************************************
* Interface (Private)
*/
...
...
@@ -504,6 +511,11 @@ static void HandleMediaSubItemAdded(const libvlc_event_t * event, void * self)
[
self
didChangeValueForKey
:
@"subitems"
];
libvlc_media_list_release
(
p_mlist
);
}
-
(
void
)
setStateAsNumber
:(
NSNumber
*
)
newStateAsNumber
{
[
self
setState
:
[
newStateAsNumber
intValue
]];
}
@end
/******************************************************************************
...
...
@@ -521,14 +533,4 @@ static void HandleMediaSubItemAdded(const libvlc_event_t * event, void * self)
length
=
value
?
[
value
retain
]
:
nil
;
}
-
(
void
)
setStateAsNumber
:(
NSNumber
*
)
newStateAsNumber
{
[
self
setState
:
[
newStateAsNumber
intValue
]];
}
-
(
void
)
setState
:(
VLCMediaState
)
newState
{
state
=
newState
;
}
@end
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