Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
07828972
Commit
07828972
authored
Jul 15, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./src/misc/messages.c: debug messages that were issued before the -v
flag was tested for are no longer lost.
parent
d87d5035
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
107 additions
and
116 deletions
+107
-116
include/vlc_messages.h
include/vlc_messages.h
+4
-1
src/libvlc.c
src/libvlc.c
+8
-4
src/misc/messages.c
src/misc/messages.c
+95
-111
No files found.
include/vlc_messages.h
View file @
07828972
...
...
@@ -4,7 +4,7 @@
* interface, such as message output.
*****************************************************************************
* Copyright (C) 1999, 2000, 2001, 2002 VideoLAN
* $Id: vlc_messages.h,v 1.
2 2002/06/01 18:04:48
sam Exp $
* $Id: vlc_messages.h,v 1.
3 2002/07/15 19:15:05
sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -34,6 +34,7 @@
typedef
struct
{
int
i_type
;
/* message type, see below */
int
i_object_id
;
char
*
psz_module
;
char
*
psz_msg
;
/* the message itself */
...
...
@@ -122,8 +123,10 @@ VLC_EXPORT( void, __msg_Dbg, ( void *, const char *, ... ) );
#endif
/* HAVE_VARIADIC_MACROS */
#define msg_Create(a) __msg_Create(CAST_TO_VLC_OBJECT(a))
#define msg_Flush(a) __msg_Flush(CAST_TO_VLC_OBJECT(a))
#define msg_Destroy(a) __msg_Destroy(CAST_TO_VLC_OBJECT(a))
void
__msg_Create
(
vlc_object_t
*
);
void
__msg_Flush
(
vlc_object_t
*
);
void
__msg_Destroy
(
vlc_object_t
*
);
#define msg_Subscribe(a) __msg_Subscribe(CAST_TO_VLC_OBJECT(a))
...
...
src/libvlc.c
View file @
07828972
...
...
@@ -4,7 +4,7 @@
* and spawns threads.
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* $Id: libvlc.c,v 1.1
3 2002/07/11 18:44:12
sam Exp $
* $Id: libvlc.c,v 1.1
4 2002/07/15 19:15:05
sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -404,17 +404,21 @@ vlc_error_t vlc_init( vlc_t *p_vlc, int i_argc, char *ppsz_argv[] )
return
VLC_EGENERIC
;
}
/*
* System specific configuration
*/
system_Configure
(
p_vlc
);
/* p_vlc inititalization. FIXME ? */
p_vlc
->
i_desync
=
config_GetInt
(
p_vlc
,
"desync"
)
*
(
mtime_t
)
1000
;
/*
* Output messages that may still be in the queue
*/
p_vlc
->
b_verbose
=
config_GetInt
(
p_vlc
,
"verbose"
);
p_vlc
->
b_quiet
=
config_GetInt
(
p_vlc
,
"quiet"
);
p_vlc
->
b_color
=
config_GetInt
(
p_vlc
,
"color"
);
msg_Flush
(
p_vlc
);
/* p_vlc inititalization. FIXME ? */
p_vlc
->
i_desync
=
config_GetInt
(
p_vlc
,
"desync"
)
*
(
mtime_t
)
1000
;
if
(
!
config_GetInt
(
p_vlc
,
"mmx"
)
)
p_vlc
->
i_cpu_capabilities
&=
~
CPU_CAPABILITY_MMX
;
if
(
!
config_GetInt
(
p_vlc
,
"3dn"
)
)
...
...
src/misc/messages.c
View file @
07828972
This diff is collapsed.
Click to expand it.
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