Changeset 99a25fe17cdb9bdaeaa4398b5aa07cba33dcf5d0
- Timestamp:
- 25/02/08 20:58:26
(8 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1203969506 +0000
- git-parent:
[a7954388b00c3f2c83bb25d97b75f1a3a470868b]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1203969506 +0000
- Message:
- Redo [22749]. Fix Mozilla plugin, fix OSX framework, fix the bindings.
- Fix ActiveX.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2bd9ccb |
r99a25fe |
|
| 111 | 111 | if( !p_new ) RAISENULL( "Out of memory" ); |
|---|
| 112 | 112 | |
|---|
| | 113 | const char *my_argv[argc + 2]; |
|---|
| | 114 | |
|---|
| | 115 | my_argv[0] = "libvlc"; /* dummy arg0, skipped by getopt() et al */ |
|---|
| | 116 | for( int i = 0; i < argc; i++ ) |
|---|
| | 117 | my_argv[i + 1] = argv[i]; |
|---|
| | 118 | my_argv[argc + 1] = NULL; /* C calling conventions require a NULL */ |
|---|
| | 119 | |
|---|
| 113 | 120 | /** \todo Look for interface settings. If we don't have any, add -I dummy */ |
|---|
| 114 | 121 | /* Because we probably don't want a GUI by default */ |
|---|
| 115 | 122 | |
|---|
| 116 | | /* WARNING: caller must pass a program path in argv[0], which can be a dummy path |
|---|
| 117 | | * this is used by libvlc to locate, this is leveraged by plugins */ |
|---|
| 118 | | if( libvlc_InternalInit( p_libvlc_int, argc, argv ) ) |
|---|
| | 123 | if( libvlc_InternalInit( p_libvlc_int, argc + 1, my_argv ) ) |
|---|
| 119 | 124 | RAISENULL( "VLC initialization failed" ); |
|---|
| 120 | 125 | |
|---|