Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Martin Finkel
LibVLCSharp
Commits
014d3802
Commit
014d3802
authored
Jan 21, 2019
by
Martin Finkel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong log file pointer return
Also fixes tests
parent
7d3fcdd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
LibVLCSharp/Shared/LibVLC.cs
LibVLCSharp/Shared/LibVLC.cs
+4
-4
No files found.
LibVLCSharp/Shared/LibVLC.cs
View file @
014d3802
...
...
@@ -306,10 +306,10 @@ namespace LibVLCSharp.Shared
/// </remarks>
public
void
UnsetLog
()
{
if
(
_logCallback
==
null
)
return
;
if
(
_logCallback
!=
null
)
Native
.
LibVLCLogUnset
(
NativeReference
);
Native
.
LibVLCLogUnset
(
NativeReference
);
if
(!
CloseLogFile
())
if
(!
CloseLogFile
())
throw
new
VLCException
(
"Could not close log file"
);
_logCallback
=
null
;
...
...
@@ -398,7 +398,7 @@ namespace LibVLCSharp.Shared
var
result
=
MarshalUtils
.
Open
(
filename
,
out
var
filePtr
);
if
(!
result
)
throw
new
VLCException
(
"Could not get FILE * for log_set_file"
);
return
IntPtr
.
Zero
;
return
filePtr
;
}
/// <summary>Returns a list of audio filters that are available.</summary>
...
...
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