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
195940ca
Commit
195940ca
authored
Aug 20, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also deprecate verbosity functions
parent
f525191b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
12 deletions
+14
-12
include/vlc/libvlc.h
include/vlc/libvlc.h
+10
-6
src/control/core.c
src/control/core.c
+0
-1
src/control/libvlc_internal.h
src/control/libvlc_internal.h
+0
-1
src/control/log.c
src/control/log.c
+4
-4
No files found.
include/vlc/libvlc.h
View file @
195940ca
...
@@ -312,19 +312,23 @@ LIBVLC_API const char * libvlc_event_type_name( libvlc_event_type_t event_type )
...
@@ -312,19 +312,23 @@ LIBVLC_API const char * libvlc_event_type_name( libvlc_event_type_t event_type )
*/
*/
/**
/**
* Return the VLC messaging verbosity level.
* Always returns minus one.
* This function is only provided for backward compatibility.
*
*
* \param p_instance
libvlc instance
* \param p_instance
ignored
* \return
verbosity level for messages
* \return
always -1
*/
*/
LIBVLC_DEPRECATED
LIBVLC_API
unsigned
libvlc_get_log_verbosity
(
const
libvlc_instance_t
*
p_instance
);
LIBVLC_API
unsigned
libvlc_get_log_verbosity
(
const
libvlc_instance_t
*
p_instance
);
/**
/**
* Set the VLC messaging verbosity level.
* This function does nothing.
* It is only provided for backward compatibility.
*
*
* \param p_instance
libvlc log instance
* \param p_instance
ignored
* \param level
log level
* \param level
ignored
*/
*/
LIBVLC_DEPRECATED
LIBVLC_API
void
libvlc_set_log_verbosity
(
libvlc_instance_t
*
p_instance
,
unsigned
level
);
LIBVLC_API
void
libvlc_set_log_verbosity
(
libvlc_instance_t
*
p_instance
,
unsigned
level
);
/**
/**
...
...
src/control/core.c
View file @
195940ca
...
@@ -67,7 +67,6 @@ libvlc_instance_t * libvlc_new( int argc, const char *const *argv )
...
@@ -67,7 +67,6 @@ libvlc_instance_t * libvlc_new( int argc, const char *const *argv )
p_new
->
libvlc_vlm
.
p_event_manager
=
NULL
;
p_new
->
libvlc_vlm
.
p_event_manager
=
NULL
;
p_new
->
libvlc_vlm
.
pf_release
=
NULL
;
p_new
->
libvlc_vlm
.
pf_release
=
NULL
;
p_new
->
ref_count
=
1
;
p_new
->
ref_count
=
1
;
p_new
->
verbosity
=
1
;
p_new
->
p_callback_list
=
NULL
;
p_new
->
p_callback_list
=
NULL
;
vlc_mutex_init
(
&
p_new
->
instance_lock
);
vlc_mutex_init
(
&
p_new
->
instance_lock
);
var_Create
(
p_libvlc_int
,
"http-user-agent"
,
var_Create
(
p_libvlc_int
,
"http-user-agent"
,
...
...
src/control/libvlc_internal.h
View file @
195940ca
...
@@ -70,7 +70,6 @@ struct libvlc_instance_t
...
@@ -70,7 +70,6 @@ struct libvlc_instance_t
libvlc_int_t
*
p_libvlc_int
;
libvlc_int_t
*
p_libvlc_int
;
libvlc_vlm_t
libvlc_vlm
;
libvlc_vlm_t
libvlc_vlm
;
unsigned
ref_count
;
unsigned
ref_count
;
int
verbosity
;
vlc_mutex_t
instance_lock
;
vlc_mutex_t
instance_lock
;
struct
libvlc_callback_entry_list_t
*
p_callback_list
;
struct
libvlc_callback_entry_list_t
*
p_callback_list
;
};
};
...
...
src/control/log.c
View file @
195940ca
...
@@ -37,14 +37,14 @@ struct libvlc_log_t
...
@@ -37,14 +37,14 @@ struct libvlc_log_t
unsigned
libvlc_get_log_verbosity
(
const
libvlc_instance_t
*
p_instance
)
unsigned
libvlc_get_log_verbosity
(
const
libvlc_instance_t
*
p_instance
)
{
{
assert
(
p_instance
)
;
(
void
)
p_instance
;
return
p_instance
->
verbosity
;
return
-
1
;
}
}
void
libvlc_set_log_verbosity
(
libvlc_instance_t
*
p_instance
,
unsigned
level
)
void
libvlc_set_log_verbosity
(
libvlc_instance_t
*
p_instance
,
unsigned
level
)
{
{
assert
(
p_instance
)
;
(
void
)
p_instance
;
p_instance
->
verbosity
=
level
;
(
void
)
level
;
}
}
libvlc_log_t
*
libvlc_log_open
(
libvlc_instance_t
*
p_instance
)
libvlc_log_t
*
libvlc_log_open
(
libvlc_instance_t
*
p_instance
)
...
...
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