Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
5f549ab8
Commit
5f549ab8
authored
Mar 11, 2005
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce the global verbosity
Change some message severities
parent
83d76733
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
31 additions
and
87 deletions
+31
-87
modules/codec/mpeg_audio.c
modules/codec/mpeg_audio.c
+1
-1
modules/gui/wxwindows/interface.cpp
modules/gui/wxwindows/interface.cpp
+0
-1
modules/gui/wxwindows/playlist.cpp
modules/gui/wxwindows/playlist.cpp
+0
-1
modules/gui/wxwindows/wizard.cpp
modules/gui/wxwindows/wizard.cpp
+1
-11
src/input/access.c
src/input/access.c
+1
-1
src/input/demux.c
src/input/demux.c
+1
-1
src/input/es_out.c
src/input/es_out.c
+4
-4
src/input/input.c
src/input/input.c
+6
-6
src/misc/modules.c
src/misc/modules.c
+2
-3
src/playlist/item-ext.c
src/playlist/item-ext.c
+3
-3
src/playlist/loadsave.c
src/playlist/loadsave.c
+2
-2
src/playlist/playlist.c
src/playlist/playlist.c
+4
-50
src/playlist/view.c
src/playlist/view.c
+6
-3
No files found.
modules/codec/mpeg_audio.c
View file @
5f549ab8
...
...
@@ -466,7 +466,7 @@ static uint8_t *GetOutBuffer( decoder_t *p_dec, void **pp_out_buffer )
if
(
p_dec
->
fmt_out
.
audio
.
i_rate
!=
p_sys
->
i_rate
)
{
msg_
Info
(
p_dec
,
"MPGA channels:%d samplerate:%d bitrate:%d"
,
msg_
Dbg
(
p_dec
,
"MPGA channels:%d samplerate:%d bitrate:%d"
,
p_sys
->
i_channels
,
p_sys
->
i_rate
,
p_sys
->
i_bit_rate
);
aout_DateInit
(
&
p_sys
->
end_date
,
p_sys
->
i_rate
);
...
...
modules/gui/wxwindows/interface.cpp
View file @
5f549ab8
...
...
@@ -631,7 +631,6 @@ void Interface::SetupHotkeys()
else
{
SetAcceleratorTable
(
accel
);
msg_Dbg
(
p_intf
,
"accelerator table loaded"
);
}
delete
[]
p_entries
;
...
...
modules/gui/wxwindows/playlist.cpp
View file @
5f549ab8
...
...
@@ -838,7 +838,6 @@ void Playlist::Rebuild( vlc_bool_t b_root )
p_view
=
playlist_ViewFind
(
p_playlist
,
i_current_view
);
/* FIXME */
/* HACK we should really get new*/
msg_Dbg
(
p_intf
,
"rebuilding tree for view %i"
,
i_current_view
);
treectrl
->
DeleteAllItems
();
treectrl
->
AddRoot
(
wxU
(
_
(
"root"
)),
-
1
,
-
1
,
new
PlaylistItem
(
p_view
->
p_root
)
);
...
...
modules/gui/wxwindows/wizard.cpp
View file @
5f549ab8
...
...
@@ -721,8 +721,6 @@ void wizInputPage::OnWizardPageChanging(wxWizardEvent& event)
{
int
i_from
=
atoi
(
from_text
->
GetValue
().
mb_str
()
);
int
i_to
=
atoi
(
to_text
->
GetValue
().
mb_str
()
);
msg_Dbg
(
p_intf
,
"Partial streaming enabled, from %i to %i"
,
i_from
,
i_to
);
p_parent
->
SetPartial
(
i_from
,
i_to
);
}
return
;
...
...
@@ -1513,12 +1511,10 @@ int WizardDialog::GetAction()
void
WizardDialog
::
Run
()
{
msg_Dbg
(
p_intf
,
"starting wizard"
);
if
(
RunWizard
(
page1
)
)
{
int
i_size
;
char
*
psz_opt
;
msg_Dbg
(
p_intf
,
"wizard completed"
);
if
(
i_action
==
ACTION_TRANSCODE
)
{
...
...
@@ -1527,7 +1523,7 @@ void WizardDialog::Run()
msg_Dbg
(
p_intf
,
"Using %s (%i kbps) / %s (%i kbps),encap %s"
,
vcodec
,
vb
,
acodec
,
ab
,
mux
);
char
*
psz_transcode
;
if
(
vcodec
!=
NULL
||
acodec
!=
NULL
)
{
int
i_tr_size
=
14
;
...
...
@@ -1595,7 +1591,6 @@ void WizardDialog::Run()
snprintf
(
psz_opt
,
i_size
,
":sout=#standard{mux=%s,url=%s,access=%s,%s}"
,
mux
,
address
,
method
,
psz_sap_option
);
msg_Dbg
(
p_intf
,
"Sap enabled: %s"
,
psz_sap_option
);
if
(
psz_sap_option
)
free
(
psz_sap_option
);
}
else
...
...
@@ -1618,7 +1613,6 @@ void WizardDialog::Run()
if
(
i_from
!=
0
)
{
char
psz_from
[
20
];
msg_Dbg
(
p_intf
,
"Setting starttime"
);
snprintf
(
psz_from
,
20
,
"start-time=%i"
,
i_from
);
playlist_ItemAddOption
(
p_item
,
psz_from
);
}
...
...
@@ -1642,10 +1636,6 @@ void WizardDialog::Run()
wxICON_WARNING
|
wxOK
,
this
);
}
}
else
{
msg_Dbg
(
p_intf
,
"wizard was cancelled"
);
}
}
/****************************************************************
* Local helper functions
...
...
src/input/access.c
View file @
5f549ab8
...
...
@@ -48,7 +48,7 @@ access_t *__access2_New( vlc_object_t *p_obj,
p_access
->
psz_demux
=
strdup
(
""
);
if
(
!
b_quick
)
msg_Dbg
(
p_obj
,
"
access2_New: access=
'%s' path='%s'"
,
msg_Dbg
(
p_obj
,
"
creating access
'%s' path='%s'"
,
p_access
->
psz_access
,
p_access
->
psz_path
);
p_access
->
pf_read
=
NULL
;
...
...
src/input/demux.c
View file @
5f549ab8
...
...
@@ -57,7 +57,7 @@ demux_t *__demux2_New( vlc_object_t *p_obj,
if
(
!
b_quick
)
{
msg_Dbg
(
p_obj
,
"
demux2_New
: access='%s' demux='%s' path='%s'"
,
msg_Dbg
(
p_obj
,
"
creating demux
: access='%s' demux='%s' path='%s'"
,
p_demux
->
psz_access
,
p_demux
->
psz_demux
,
p_demux
->
psz_path
);
}
...
...
src/input/es_out.c
View file @
5f549ab8
...
...
@@ -173,7 +173,7 @@ es_out_t *input_EsOutNew( input_thread_t *p_input )
if
(
p_sys
->
ppsz_audio_language
)
{
for
(
i
=
0
;
p_sys
->
ppsz_audio_language
[
i
];
i
++
)
msg_Dbg
(
p_input
,
"
S
elect audio in language[%d] %s"
,
msg_Dbg
(
p_input
,
"
s
elect audio in language[%d] %s"
,
i
,
p_sys
->
ppsz_audio_language
[
i
]
);
}
if
(
val
.
psz_string
)
free
(
val
.
psz_string
);
...
...
@@ -183,7 +183,7 @@ es_out_t *input_EsOutNew( input_thread_t *p_input )
if
(
p_sys
->
ppsz_sub_language
)
{
for
(
i
=
0
;
p_sys
->
ppsz_sub_language
[
i
];
i
++
)
msg_Dbg
(
p_input
,
"
S
elect subtitle in language[%d] %s"
,
msg_Dbg
(
p_input
,
"
s
elect subtitle in language[%d] %s"
,
i
,
p_sys
->
ppsz_sub_language
[
i
]
);
}
if
(
val
.
psz_string
)
free
(
val
.
psz_string
);
...
...
@@ -399,7 +399,7 @@ static void EsOutProgramSelect( es_out_t *out, es_out_pgrm_t *p_pgrm )
if
(
p_sys
->
p_pgrm
)
{
es_out_pgrm_t
*
old
=
p_sys
->
p_pgrm
;
msg_Dbg
(
p_input
,
"
U
nselecting program id=%d"
,
old
->
i_id
);
msg_Dbg
(
p_input
,
"
u
nselecting program id=%d"
,
old
->
i_id
);
for
(
i
=
0
;
i
<
p_sys
->
i_es
;
i
++
)
{
...
...
@@ -413,7 +413,7 @@ static void EsOutProgramSelect( es_out_t *out, es_out_pgrm_t *p_pgrm )
p_sys
->
p_es_video
=
NULL
;
}
msg_Dbg
(
p_input
,
"
S
electing program id=%d"
,
p_pgrm
->
i_id
);
msg_Dbg
(
p_input
,
"
s
electing program id=%d"
,
p_pgrm
->
i_id
);
/* Mark it selected */
p_pgrm
->
b_selected
=
VLC_TRUE
;
...
...
src/input/input.c
View file @
5f549ab8
...
...
@@ -162,7 +162,6 @@ input_thread_t *__input_CreateThread( vlc_object_t *p_parent,
vlc_mutex_lock
(
&
p_item
->
lock
);
for
(
i
=
0
;
i
<
p_item
->
i_options
;
i
++
)
{
// msg_Dbg( p_input, "option: %s", p_item->ppsz_options[i] );
ParseOption
(
p_input
,
p_item
->
ppsz_options
[
i
]
);
}
vlc_mutex_unlock
(
&
p_item
->
lock
);
...
...
@@ -710,7 +709,7 @@ static int Init( input_thread_t * p_input, vlc_bool_t b_quick )
{
vlc_value_t
s
;
msg_Dbg
(
p_input
,
"start
-
time: %ds"
,
msg_Dbg
(
p_input
,
"start
ing at
time: %ds"
,
(
int
)(
p_input
->
i_start
/
I64C
(
1000000
)
)
);
s
.
i_time
=
p_input
->
i_start
;
...
...
@@ -835,7 +834,7 @@ static int Init( input_thread_t * p_input, vlc_bool_t b_quick )
break
;
}
msg_Dbg
(
p_input
,
"adding slave '%s'"
,
psz
);
msg_Dbg
(
p_input
,
"adding slave
input
'%s'"
,
psz
);
slave
=
InputSourceNew
(
p_input
);
if
(
!
InputSourceInit
(
p_input
,
slave
,
psz
,
NULL
,
VLC_FALSE
)
)
{
...
...
@@ -1141,8 +1140,9 @@ static void ControlReduce( input_thread_t *p_input )
const
int
i_ct
=
p_input
->
control
[
i
].
i_type
;
/* XXX We can't merge INPUT_CONTROL_SET_ES */
msg_Dbg
(
p_input
,
"[%d/%d] l=%d c=%d"
,
i
,
p_input
->
i_control
,
/*
msg_Dbg( p_input, "[%d/%d] l=%d c=%d", i, p_input->i_control,
i_lt, i_ct );
*/
if
(
i_lt
==
i_ct
&&
(
i_ct
==
INPUT_CONTROL_SET_STATE
||
i_ct
==
INPUT_CONTROL_SET_RATE
||
...
...
@@ -1154,7 +1154,7 @@ static void ControlReduce( input_thread_t *p_input )
i_ct
==
INPUT_CONTROL_SET_BOOKMARK
)
)
{
int
j
;
msg_Dbg
(
p_input
,
"merged at %d"
,
i
);
//
msg_Dbg( p_input, "merged at %d", i );
/* Remove the i-1 */
for
(
j
=
i
;
j
<
p_input
->
i_control
;
j
++
)
p_input
->
control
[
j
-
1
]
=
p_input
->
control
[
j
];
...
...
@@ -1180,7 +1180,7 @@ static vlc_bool_t Control( input_thread_t *p_input, int i_type,
switch
(
i_type
)
{
case
INPUT_CONTROL_SET_DIE
:
msg_Dbg
(
p_input
,
"control:
INPUT_CONTROL_SET_DIE proceed
"
);
msg_Dbg
(
p_input
,
"control:
stopping input
"
);
/* Mark all submodules to die */
if
(
p_input
->
input
.
p_access
)
p_input
->
input
.
p_access
->
b_die
=
VLC_TRUE
;
...
...
src/misc/modules.c
View file @
5f549ab8
...
...
@@ -406,7 +406,6 @@ module_t * __module_Need( vlc_object_t *p_this, const char *psz_capability,
char
*
psz_shortcuts
=
NULL
,
*
psz_var
=
NULL
;
vlc_bool_t
b_force_backup
=
p_this
->
b_force
;
msg_Dbg
(
p_this
,
"looking for %s module"
,
psz_capability
);
/* Deal with variables */
if
(
psz_name
&&
psz_name
[
0
]
==
'$'
)
...
...
@@ -602,8 +601,8 @@ module_t * __module_Need( vlc_object_t *p_this, const char *psz_capability,
i_index
++
;
}
msg_Dbg
(
p_this
,
"
probing %i candidate%s"
,
i_index
,
i_index
==
1
?
""
:
"s"
);
msg_Dbg
(
p_this
,
"
looking for %s module: %i candidate%s"
,
psz_capability
,
i_index
,
i_index
==
1
?
""
:
"s"
);
/* Lock all candidate modules */
p_tmp
=
p_first
;
...
...
src/playlist/item-ext.c
View file @
5f549ab8
...
...
@@ -151,7 +151,7 @@ int playlist_AddItem( playlist_t *p_playlist, playlist_item_t *p_item,
i_mode
|=
PLAYLIST_APPEND
;
}
msg_
Dbg
(
p_playlist
,
"adding playlist item `%s' ( %s )"
,
msg_
Info
(
p_playlist
,
"adding playlist item `%s' ( %s )"
,
p_item
->
input
.
psz_name
,
p_item
->
input
.
psz_uri
);
p_item
->
input
.
i_id
=
++
p_playlist
->
i_last_id
;
...
...
@@ -331,7 +331,7 @@ int playlist_NodeAddItem( playlist_t *p_playlist, playlist_item_t *p_item,
i_mode
|=
PLAYLIST_APPEND
;
}
msg_
Dbg
(
p_playlist
,
"adding playlist item `%s' ( %s )"
,
msg_
Info
(
p_playlist
,
"adding playlist item `%s' ( %s )"
,
p_item
->
input
.
psz_name
,
p_item
->
input
.
psz_uri
);
p_item
->
input
.
i_id
=
++
p_playlist
->
i_last_id
;
...
...
@@ -642,7 +642,7 @@ int playlist_Delete( playlist_t * p_playlist, int i_id )
p_playlist
->
status
.
p_item
=
NULL
;
}
msg_
Dbg
(
p_playlist
,
"deleting playlist item `%s'"
,
msg_
Info
(
p_playlist
,
"deleting playlist item `%s'"
,
p_item
->
input
.
psz_name
);
/* Remove the item from all its parent nodes */
...
...
src/playlist/loadsave.c
View file @
5f549ab8
...
...
@@ -49,7 +49,7 @@ int playlist_Import( playlist_t * p_playlist, const char *psz_filename )
char
*
psz_uri
;
int
i_id
;
msg_
Dbg
(
p_playlist
,
"clearing playlist"
);
msg_
Info
(
p_playlist
,
"clearing playlist"
);
playlist_Clear
(
p_playlist
);
...
...
@@ -83,7 +83,7 @@ int playlist_Load( playlist_t * p_playlist, const char *psz_filename )
char
*
psz_uri
;
int
i_id
;
msg_
Dbg
(
p_playlist
,
"clearing playlist"
);
msg_
Info
(
p_playlist
,
"clearing playlist"
);
playlist_Clear
(
p_playlist
);
...
...
src/playlist/playlist.c
View file @
5f549ab8
...
...
@@ -36,7 +36,7 @@
#define TITLE_SIMPLE N_( "Manually added" )
#define TITLE_ALL N_( "All items, unsorted" )
#
define PLAYLIST_PROFILE 1
#
undef PLAYLIST_PROFILE
#undef PLAYLIST_DEBUG
/*****************************************************************************
...
...
@@ -809,7 +809,9 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
/* Start the real work */
if
(
p_playlist
->
request
.
b_request
)
{
#ifdef PLAYLIST_DEBUG
msg_Dbg
(
p_playlist
,
"processing request"
);
#endif
/* We are not playing from a view */
if
(
p_playlist
->
request
.
i_view
==
-
1
)
{
...
...
@@ -923,7 +925,6 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
}
else
{
msg_Dbg
(
p_playlist
,
"finished"
);
if
(
b_loop
&&
p_playlist
->
i_size
>
0
)
{
p_playlist
->
i_index
=
0
;
...
...
@@ -976,58 +977,11 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
if
(
p_new
==
NULL
)
{
msg_Info
(
p_playlist
,
"
N
othing to play"
);
msg_Info
(
p_playlist
,
"
n
othing to play"
);
}
return
p_new
;
}
#if 0
static void SkipItem( playlist_t *p_playlist, int i_arg )
{
int i_oldindex = p_playlist->i_index;
vlc_bool_t b_random, b_repeat, b_loop;
vlc_value_t val;
int i_count;
/* Increment */
else if( !b_repeat )
{
p_playlist->i_index += i_arg;
}
/* Boundary check */
if( p_playlist->i_index >= p_playlist->i_size )
{
if( p_playlist->i_status == PLAYLIST_STOPPED || b_random || b_loop )
{
p_playlist->i_index -= p_playlist->i_size
* ( p_playlist->i_index / p_playlist->i_size );
}
else
{
/* Don't loop by default: stop at playlist end */
p_playlist->i_index = i_oldindex;
p_playlist->i_status = PLAYLIST_STOPPED;
}
}
else if( p_playlist->i_index < 0 )
{
p_playlist->i_index = p_playlist->i_size - 1;
}
/* Check that the item is enabled */
if( p_playlist->pp_items[p_playlist->i_index]->b_enabled == VLC_FALSE &&
p_playlist->i_enabled != 0)
{
SkipItem( p_playlist , 1 );
}
}
#endif
/*****************************************************************************
* PlayItem: start the input thread for an item
****************************************************************************/
...
...
src/playlist/view.c
View file @
5f549ab8
...
...
@@ -70,8 +70,6 @@ playlist_view_t * playlist_ViewCreate( playlist_t *p_playlist, int i_id,
{
playlist_view_t
*
p_view
;
msg_Dbg
(
p_playlist
,
"creating view %i"
,
i_id
);
p_view
=
malloc
(
sizeof
(
playlist_view_t
)
);
memset
(
p_view
,
0
,
sizeof
(
playlist_view_t
)
);
...
...
@@ -127,6 +125,7 @@ int playlist_ViewDelete( playlist_t *p_playlist,playlist_view_t *p_view )
return
VLC_SUCCESS
;
}
/**
* Dumps the content of a view
*
...
...
@@ -136,9 +135,11 @@ int playlist_ViewDelete( playlist_t *p_playlist,playlist_view_t *p_view )
*/
int
playlist_ViewDump
(
playlist_t
*
p_playlist
,
playlist_view_t
*
p_view
)
{
#ifdef PLAYLIST_DEBUG
msg_Dbg
(
p_playlist
,
"dumping view %i"
,
p_view
->
i_id
);
playlist_NodeDump
(
p_playlist
,
p_view
->
p_root
,
1
);
return
VLC_SUCCESS
;
#endif
}
/**
...
...
@@ -907,7 +908,8 @@ playlist_item_t *playlist_FindDirectParent( playlist_t *p_playlist,
}
/* This function dumps a node */
#ifdef PLAYLIST_DEBUG
/* This function dumps a node : to be used only for debug*/
void
playlist_NodeDump
(
playlist_t
*
p_playlist
,
playlist_item_t
*
p_item
,
int
i_level
)
{
...
...
@@ -940,3 +942,4 @@ void playlist_NodeDump( playlist_t *p_playlist, playlist_item_t *p_item,
}
return
;
}
#endif
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