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
9df6f209
Commit
9df6f209
authored
Oct 22, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc_destroy() -> libvlc_release()
parent
e6a14c1d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
activex/plugin.cpp
activex/plugin.cpp
+1
-1
bindings/cil/libvlc.cs
bindings/cil/libvlc.cs
+1
-1
bindings/java/src/core-jni.cc
bindings/java/src/core-jni.cc
+1
-1
bindings/python/vlc_instance.c
bindings/python/vlc_instance.c
+1
-1
extras/MacOSX/Framework/Sources/VLCLibrary.m
extras/MacOSX/Framework/Sources/VLCLibrary.m
+1
-1
test/native/libvlc.c
test/native/libvlc.c
+3
-3
No files found.
activex/plugin.cpp
View file @
9df6f209
...
...
@@ -661,7 +661,7 @@ HRESULT VLCPlugin::onClose(DWORD dwSaveOption)
_p_libvlc
=
NULL
;
vlcDataObject
->
onClose
();
libvlc_
destroy
(
p_libvlc
,
NULL
);
libvlc_
release
(
p_libvlc
,
NULL
);
}
return
S_OK
;
};
...
...
bindings/cil/libvlc.cs
View file @
9df6f209
...
...
@@ -55,7 +55,7 @@ namespace VideoLAN.LibVLC
public
static
extern
InstanceHandle
Create
(
int
argc
,
U8String
[]
argv
,
NativeException
ex
);
[
DllImport
(
"libvlc-control.dll"
,
EntryPoint
=
"libvlc_
destroy
"
)]
[
DllImport
(
"libvlc-control.dll"
,
EntryPoint
=
"libvlc_
release
"
)]
static
extern
void
Destroy
(
IntPtr
ptr
,
NativeException
ex
);
protected
override
bool
ReleaseHandle
()
...
...
bindings/java/src/core-jni.cc
View file @
9df6f209
...
...
@@ -81,7 +81,7 @@ JNIEXPORT void JNICALL Java_org_videolan_jvlc_JVLC__1destroy (JNIEnv *env, jobje
instance
=
getClassInstance
(
env
,
_this
);
libvlc_
destroy
(
(
libvlc_instance_t
*
)
instance
,
NULL
);
libvlc_
release
(
(
libvlc_instance_t
*
)
instance
,
NULL
);
return
;
}
...
...
bindings/python/vlc_instance.c
View file @
9df6f209
...
...
@@ -112,7 +112,7 @@ static void
vlcInstance_dealloc
(
PyObject
*
self
)
{
libvlc_exception_t
ex
;
libvlc_
destroy
(
LIBVLC_INSTANCE
->
p_instance
,
&
ex
);
libvlc_
release
(
LIBVLC_INSTANCE
->
p_instance
,
&
ex
);
PyObject_DEL
(
self
);
}
...
...
extras/MacOSX/Framework/Sources/VLCLibrary.m
View file @
9df6f209
...
...
@@ -108,7 +108,7 @@ static void * DestroySharedLibraryAtExit( void )
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
libvlc_
destroy
(
instance
,
&
ex
);
libvlc_
release
(
instance
,
&
ex
);
}
instance
=
nil
;
[
audio
release
];
...
...
test/native/libvlc.c
View file @
9df6f209
...
...
@@ -42,7 +42,7 @@ PyObject *create_destroy( PyObject *self, PyObject *args )
ASSERT
(
p_i1
!=
NULL
,
"Instance creation failed"
);
ASSERT_NOEXCEPTION
;
id1
=
libvlc_get_vlc_id
(
p_i1
);
libvlc_
destroy
(
p_i1
,
&
exception
);
libvlc_
release
(
p_i1
,
&
exception
);
ASSERT_NOEXCEPTION
;
/* Create and destroy two instances */
...
...
@@ -57,10 +57,10 @@ PyObject *create_destroy( PyObject *self, PyObject *args )
ASSERT_NOEXCEPTION
;
fprintf
(
stderr
,
"Destroy 1
\n
"
);
libvlc_
destroy
(
p_i1
,
&
exception
);
libvlc_
release
(
p_i1
,
&
exception
);
ASSERT_NOEXCEPTION
;
fprintf
(
stderr
,
"Destroy 2
\n
"
);
libvlc_
destroy
(
p_i2
,
&
exception
);
libvlc_
release
(
p_i2
,
&
exception
);
ASSERT_NOEXCEPTION
;
/* Deinit */
...
...
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