[vlc-devel] commit: Remove most vlc_object_set_name() calls, now redumdant ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Sep 20 11:48:45 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Sep 20 12:45:53 2009 +0300| [5d0ae5d7c860a4225264566e655993f2688a3506] | committer: Rémi Denis-Courmont
Remove most vlc_object_set_name() calls, now redumdant
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5d0ae5d7c860a4225264566e655993f2688a3506
---
src/audio_output/input.c | 1 -
src/input/access.c | 1 -
src/input/demux.c | 1 -
src/input/stream_filter.c | 1 -
src/misc/filter.c | 1 -
src/misc/filter_chain.c | 1 -
src/misc/image.c | 1 -
src/stream_output/stream_output.c | 3 ---
8 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/src/audio_output/input.c b/src/audio_output/input.c
index c7f396e..5c6f7d4 100644
--- a/src/audio_output/input.c
+++ b/src/audio_output/input.c
@@ -283,7 +283,6 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input, const aout_
continue;
}
- vlc_object_set_name( p_filter, psz_parser );
vlc_object_attach( p_filter , p_aout );
p_filter->request_vout.pf_request_vout = RequestVoutFromFilter;
diff --git a/src/input/access.c b/src/input/access.c
index 3d300c6..98e30d4 100644
--- a/src/input/access.c
+++ b/src/input/access.c
@@ -60,7 +60,6 @@ access_t *__access_New( vlc_object_t *p_obj, input_thread_t *p_parent_input,
access_InitFields( p_access );
/* Before module_need (for var_Create...) */
- vlc_object_set_name( p_access, psz_access );
vlc_object_attach( p_access, p_obj );
p_access->p_module = module_need( p_access, "access", psz_access, true );
diff --git a/src/input/demux.c b/src/input/demux.c
index d3e16d9..2a37ab1 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -154,7 +154,6 @@ demux_t *__demux_New( vlc_object_t *p_obj, input_thread_t *p_parent_input,
}
/* Before module_need (for var_Create...) */
- vlc_object_set_name( p_demux, psz_module );
vlc_object_attach( p_demux, p_obj );
if( s )
diff --git a/src/input/stream_filter.c b/src/input/stream_filter.c
index 04e05e1..213643f 100644
--- a/src/input/stream_filter.c
+++ b/src/input/stream_filter.c
@@ -54,7 +54,6 @@ stream_t *stream_FilterNew( stream_t *p_source,
s->p_source = p_source;
/* */
- vlc_object_set_name( s, psz_stream_filter );
vlc_object_attach( s, p_source );
s->p_module = module_need( s, "stream_filter", psz_stream_filter, true );
diff --git a/src/misc/filter.c b/src/misc/filter.c
index 15275e7..7359982 100644
--- a/src/misc/filter.c
+++ b/src/misc/filter.c
@@ -130,7 +130,6 @@ video_splitter_t *video_splitter_New( vlc_object_t *p_this,
video_format_Copy( &p_splitter->fmt, p_fmt );
/* */
- vlc_object_set_name( p_splitter, psz_name );
vlc_object_attach( p_splitter, p_this );
p_splitter->p_module = module_need( p_splitter, "video splitter", psz_name, true );
diff --git a/src/misc/filter_chain.c b/src/misc/filter_chain.c
index 572b3f9..c5fb47b 100644
--- a/src/misc/filter_chain.c
+++ b/src/misc/filter_chain.c
@@ -300,7 +300,6 @@ static filter_t *filter_chain_AppendFilterInternal( filter_chain_t *p_chain,
VLC_OBJECT_GENERIC, "filter" );
if( !p_filter )
return NULL;
- vlc_object_set_name( p_filter, psz_name );
vlc_object_attach( p_filter, p_chain->p_this );
if( !p_fmt_in )
diff --git a/src/misc/image.c b/src/misc/image.c
index c3ae6e9..cc11c30 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -783,7 +783,6 @@ static filter_t *CreateFilter( vlc_object_t *p_this, es_format_t *p_fmt_in,
p_filter = vlc_custom_create( p_this, sizeof(filter_t),
VLC_OBJECT_GENERIC, typename );
- vlc_object_set_name( p_filter, psz_module );
vlc_object_attach( p_filter, p_this );
p_filter->pf_vout_buffer_new =
diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index e2c9d7e..a6672de 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -313,7 +313,6 @@ sout_access_out_t *sout_AccessOutNew( vlc_object_t *p_sout,
p_access->i_writes = 0;
p_access->i_sent_bytes = 0;
- vlc_object_set_name( p_access, p_access->psz_access );
vlc_object_attach( p_access, p_sout );
p_access->p_module =
@@ -436,7 +435,6 @@ sout_mux_t * sout_MuxNew( sout_instance_t *p_sout, char *psz_mux,
p_mux->b_waiting_stream = true;
p_mux->i_add_stream_start = -1;
- vlc_object_set_name( p_mux, p_mux->psz_mux );
vlc_object_attach( p_mux, p_sout );
p_mux->p_module =
@@ -790,7 +788,6 @@ sout_stream_t *sout_StreamNew( sout_instance_t *p_sout, char *psz_chain )
msg_Dbg( p_sout, "stream=`%s'", p_stream->psz_name );
- vlc_object_set_name( p_stream, p_stream->psz_name );
vlc_object_attach( p_stream, p_sout );
p_stream->p_module =
More information about the vlc-devel
mailing list