Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a67fbfcd
Commit
a67fbfcd
authored
Nov 06, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc_media_new_(location|path): try to clarify the difference
parent
7ba4c386
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
include/vlc/libvlc_media.h
include/vlc/libvlc_media.h
+9
-3
No files found.
include/vlc/libvlc_media.h
View file @
a67fbfcd
...
@@ -171,12 +171,18 @@ typedef struct libvlc_media_track_info_t
...
@@ -171,12 +171,18 @@ typedef struct libvlc_media_track_info_t
/**
/**
* Create a media with a certain given media resource location.
* Create a media with a certain given media resource location,
* for instance a valid URL.
*
* \note To refer to a local file with this function,
* the file://... URI syntax <b>must</b> be used (see IETF RFC3986).
* We recommend using libvlc_media_new_path() instead when dealing with
* local files.
*
*
* \see libvlc_media_release
* \see libvlc_media_release
*
*
* \param p_instance the instance
* \param p_instance the instance
* \param psz_mrl the
MRL to read
* \param psz_mrl the
media location
* \return the newly created media or NULL on error
* \return the newly created media or NULL on error
*/
*/
VLC_PUBLIC_API
libvlc_media_t
*
libvlc_media_new_location
(
VLC_PUBLIC_API
libvlc_media_t
*
libvlc_media_new_location
(
...
@@ -184,7 +190,7 @@ VLC_PUBLIC_API libvlc_media_t *libvlc_media_new_location(
...
@@ -184,7 +190,7 @@ VLC_PUBLIC_API libvlc_media_t *libvlc_media_new_location(
const
char
*
psz_mrl
);
const
char
*
psz_mrl
);
/**
/**
* Create a media
with
a certain file path.
* Create a media
for
a certain file path.
*
*
* \see libvlc_media_release
* \see libvlc_media_release
*
*
...
...
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