Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d9ab1c71
Commit
d9ab1c71
authored
Feb 22, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCKit: preparsed->parsed.
parent
17e117d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
projects/macosx/framework/Headers/Public/VLCMedia.h
projects/macosx/framework/Headers/Public/VLCMedia.h
+12
-12
projects/macosx/framework/Sources/VLCMedia.m
projects/macosx/framework/Sources/VLCMedia.m
+2
-2
No files found.
projects/macosx/framework/Headers/Public/VLCMedia.h
View file @
d9ab1c71
...
...
@@ -98,8 +98,8 @@ typedef enum VLCMediaState
@end
/**
* Defines files and streams as a managed object. Each media object can be
* administered seperately. VLCMediaPlayer or VLCMediaList must be used
* Defines files and streams as a managed object. Each media object can be
* administered seperately. VLCMediaPlayer or VLCMediaList must be used
* to execute the appropriate playback functions.
* \see VLCMediaPlayer
* \see VLCMediaList
...
...
@@ -112,8 +112,8 @@ typedef enum VLCMediaState
VLCTime
*
length
;
//< Cached duration of the media
NSMutableDictionary
*
metaDictionary
;
//< Meta data storage
id
delegate
;
//< Delegate object
BOOL
isArtFetched
;
//< Value used to determine of the artwork has been p
rep
arsed
BOOL
areOthersMetaFetched
;
//< Value used to determine of the other meta has been p
rep
arsed
BOOL
isArtFetched
;
//< Value used to determine of the artwork has been parsed
BOOL
areOthersMetaFetched
;
//< Value used to determine of the other meta has been parsed
BOOL
isArtURLFetched
;
//< Value used to determine of the other meta has been preparsed
VLCMediaState
state
;
//< Current state of the media
}
...
...
@@ -146,14 +146,14 @@ typedef enum VLCMediaState
/* Initializers */
/**
* Initializes a new VLCMedia object to use the specified URL.
* Initializes a new VLCMedia object to use the specified URL.
* \param aPath Path to media to be accessed.
* \return A new VLCMedia object, only if there were no errors.
*/
-
(
id
)
initWithURL
:(
NSURL
*
)
anURL
;
/**
* Initializes a new VLCMedia object to use the specified path.
* Initializes a new VLCMedia object to use the specified path.
* \param aPath Path to media to be accessed.
* \return A new VLCMedia object, only if there were no errors.
*/
...
...
@@ -167,12 +167,12 @@ typedef enum VLCMediaState
-
(
id
)
initAsNodeWithName
:(
NSString
*
)
aName
;
/**
* Returns an NSComparisonResult value that indicates the lexical ordering of
* Returns an NSComparisonResult value that indicates the lexical ordering of
* the receiver and a given meda.
* \param media The media with which to compare with the receiver.
* \return NSOrderedAscending if the URL of the receiver precedes media in
* lexical ordering, NSOrderedSame if the URL of the receiver and media are
* equivalent in lexical value, and NSOrderedDescending if the URL of the
* \return NSOrderedAscending if the URL of the receiver precedes media in
* lexical ordering, NSOrderedSame if the URL of the receiver and media are
* equivalent in lexical value, and NSOrderedDescending if the URL of the
* receiver follows media. If media is nil, returns NSOrderedDescending.
*/
-
(
NSComparisonResult
)
compare
:(
VLCMedia
*
)
media
;
...
...
@@ -201,9 +201,9 @@ typedef enum VLCMediaState
-
(
VLCTime
*
)
lengthWaitUntilDate
:(
NSDate
*
)
aDate
;
/**
* Determines if the media has already been preparsed.
* Determines if the media has already been preparsed.
*/
@property
(
readonly
)
BOOL
isP
rep
arsed
;
@property
(
readonly
)
BOOL
isParsed
;
/**
* The URL for the receiver's media resource.
...
...
projects/macosx/framework/Sources/VLCMedia.m
View file @
d9ab1c71
...
...
@@ -310,9 +310,9 @@ static void HandleMediaSubItemAdded(const libvlc_event_t * event, void * self)
return
[[
length
retain
]
autorelease
];
}
-
(
BOOL
)
isP
rep
arsed
-
(
BOOL
)
isParsed
{
return
libvlc_media_is_p
rep
arsed
(
p_md
);
return
libvlc_media_is_parsed
(
p_md
);
}
@synthesize
url
;
...
...
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