Changeset 5d29b33987158c7272dac74f8bc7c0dcf2fa0db9
- Timestamp:
- 10/26/07 17:41:51
(10 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1193413311 +0000
- git-parent:
[998b5e6f6b682ed20c33df54d24c8f0205f07ccb]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1193413311 +0000
- Message:
Plugin path
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r8837d3d |
r5d29b33 |
|
| 31 | 31 | public static int Main (string[] args) |
|---|
| 32 | 32 | { |
|---|
| 33 | | string[] argv = new string[3]{ "-vvv", "-I", "dummy" }; |
|---|
| | 33 | string[] argv = new string[]{ |
|---|
| | 34 | "-vvv", "-I", "dummy", "--plugin-path=../../modules" |
|---|
| | 35 | }; |
|---|
| 34 | 36 | |
|---|
| 35 | 37 | Instance vlc = VLC.CreateInstance (argv); |
|---|
| 36 | | MediaDescriptor md = vlc.CreateDescriptor (args[0]); |
|---|
| | 38 | MediaDescriptor md = vlc.CreateDescriptor ("/dev/null"); |
|---|
| 37 | 39 | md.Dispose (); |
|---|
| 38 | 40 | |
|---|
| … | … | |
| 45 | 47 | vlc.TogglePause (); |
|---|
| 46 | 48 | Console.ReadLine (); |
|---|
| | 49 | vlc.Stop (); |
|---|
| 47 | 50 | |
|---|
| 48 | 51 | if (item != null) |
|---|
| 49 | 52 | vlc.Delete (item); |
|---|
| 50 | 53 | vlc.Clear (); |
|---|
| | 54 | |
|---|
| | 55 | Console.ReadLine (); |
|---|
| 51 | 56 | vlc.Dispose (); |
|---|
| 52 | 57 | return 0; |
|---|