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
708049c3
Commit
708049c3
authored
Feb 21, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix documentation
parent
d1324549
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
6 deletions
+31
-6
bindings/cil/src/exception.cs
bindings/cil/src/exception.cs
+2
-5
bindings/cil/src/instance.cs
bindings/cil/src/instance.cs
+3
-0
bindings/cil/src/marshal.cs
bindings/cil/src/marshal.cs
+7
-0
bindings/cil/src/media.cs
bindings/cil/src/media.cs
+18
-1
bindings/cil/src/player.cs
bindings/cil/src/player.cs
+1
-0
No files found.
bindings/cil/src/exception.cs
View file @
708049c3
...
...
@@ -60,11 +60,8 @@ namespace VideoLAN.LibVLC
};
/**
* @section Internals
*/
/**
* libvlc_exception_t: structure for unmanaged LibVLC exceptions
* @brief NativeException: CIL representation for libvlc_exception_t.
* @ingroup Internals
*/
[
StructLayout
(
LayoutKind
.
Sequential
)]
public
sealed
class
NativeException
:
IDisposable
...
...
bindings/cil/src/instance.cs
View file @
708049c3
...
...
@@ -36,6 +36,9 @@ namespace VideoLAN.LibVLC
*/
internal
sealed
class
InstanceHandle
:
NonNullHandle
{
/**
* NonNullHandle.Destroy
*/
protected
override
void
Destroy
()
{
LibVLC
.
Release
(
handle
,
null
);
...
...
bindings/cil/src/marshal.cs
View file @
708049c3
...
...
@@ -50,6 +50,9 @@ namespace VideoLAN.LibVLC
}
}
/**
* Destroys an handle. Cannot fail.
*/
protected
abstract
void
Destroy
();
/**
...
...
@@ -80,6 +83,10 @@ namespace VideoLAN.LibVLC
this
.
handle
=
null
;
}
/**
* Checks if the LibVLC run-time raised an exception
* If so, raises a CIL exception.
*/
protected
void
Raise
()
{
ex
.
Raise
();
...
...
bindings/cil/src/media.cs
View file @
708049c3
...
...
@@ -33,6 +33,9 @@ namespace VideoLAN.LibVLC
*/
internal
sealed
class
MediaHandle
:
NonNullHandle
{
/**
* NonNullHandle.Destroy
*/
protected
override
void
Destroy
()
{
LibVLC
.
MediaRelease
(
handle
);
...
...
@@ -41,7 +44,8 @@ namespace VideoLAN.LibVLC
/**
* @brief Media: a source media
* Use this class to extract meta-informations from a media.
* @ingroup API
* Each media object represents an input media, such as a file or an URL.
*/
public
class
Media
:
BaseObject
{
...
...
@@ -67,6 +71,19 @@ namespace VideoLAN.LibVLC
Raise
();
}
/**
* Add VLC input item options to the media.
* @param options VLC options in VLC input item format
* (see example below)
* @param trusted whether the options are set by a trusted agent
* (e.g. the local computer configuration) or not
* (e.g. a downloaded file).
* @code
* Media m = new Media(vlc, "http://www.example.com/music.ogg");
* m.AddOptions(":http-user-agent=LibVLC.Net "
* + ":http-proxy=proxy:8080", true);
* @endcode
*/
public
void
AddOptions
(
string
options
,
bool
trusted
)
{
U8String
uopts
=
new
U8String
(
options
);
...
...
bindings/cil/src/player.cs
View file @
708049c3
...
...
@@ -68,6 +68,7 @@ namespace VideoLAN.LibVLC
/**
* @brief MediaPlayer: a simple media player
* @ingroup API
* Use this class to play a media.
*/
public
class
MediaPlayer
:
BaseObject
...
...
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