Changeset 07f363a4228870c2210957ad202635ad1dc45e4d
- Timestamp:
- 31/05/08 15:28:23
(6 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1212240503 +0200
- git-parent:
[71d7c0d462dc16ec4eb806209020a04f046e85ef]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1212240473 +0200
- Message:
mozilla: Use --ignore-config, we don't want local VLC to interfer with the plugin. Also support exception.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rbf1292e |
r07f363a |
|
| 110 | 110 | ppsz_argv[ppsz_argc++] = "--no-stats"; |
|---|
| 111 | 111 | ppsz_argv[ppsz_argc++] = "--no-media-library"; |
|---|
| | 112 | ppsz_argv[ppsz_argc++] = "--ignore-config"; |
|---|
| 112 | 113 | ppsz_argv[ppsz_argc++] = "--intf"; |
|---|
| 113 | 114 | ppsz_argv[ppsz_argc++] = "dummy"; |
|---|
| … | … | |
| 174 | 175 | |
|---|
| 175 | 176 | |
|---|
| 176 | | |
|---|
| 177 | | libvlc_instance = libvlc_new(ppsz_argc, ppsz_argv, NULL); |
|---|
| 178 | | if( ! libvlc_instance ) |
|---|
| 179 | | { |
|---|
| | 177 | libvlc_exception_t ex; |
|---|
| | 178 | libvlc_exception_init(&ex); |
|---|
| | 179 | |
|---|
| | 180 | libvlc_instance = libvlc_new(ppsz_argc, ppsz_argv, &ex); |
|---|
| | 181 | if( libvlc_exception_raised(&ex) ) |
|---|
| | 182 | { |
|---|
| | 183 | libvlc_exception_clear(&ex); |
|---|
| 180 | 184 | return NPERR_GENERIC_ERROR; |
|---|
| 181 | 185 | } |
|---|