Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
07a61eae
Commit
07a61eae
authored
Aug 23, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use vlc_object_set_name in some places
parent
7401be21
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
1 deletion
+10
-1
src/audio_output/input.c
src/audio_output/input.c
+1
-1
src/input/access.c
src/input/access.c
+1
-0
src/input/demux.c
src/input/demux.c
+1
-0
src/input/stream_filter.c
src/input/stream_filter.c
+1
-0
src/misc/filter.c
src/misc/filter.c
+1
-0
src/misc/filter_chain.c
src/misc/filter_chain.c
+1
-0
src/misc/image.c
src/misc/image.c
+1
-0
src/stream_output/stream_output.c
src/stream_output/stream_output.c
+3
-0
No files found.
src/audio_output/input.c
View file @
07a61eae
...
...
@@ -293,6 +293,7 @@ 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
;
...
...
@@ -312,7 +313,6 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input, const aout_
/* try to find the requested filter */
if
(
i_visual
==
2
)
/* this can only be a visualization module */
{
p_filter
->
p_module
=
module_need
(
p_filter
,
"visualization"
,
psz_parser
,
true
);
}
...
...
src/input/access.c
View file @
07a61eae
...
...
@@ -60,6 +60,7 @@ 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
);
...
...
src/input/demux.c
View file @
07a61eae
...
...
@@ -154,6 +154,7 @@ 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
)
...
...
src/input/stream_filter.c
View file @
07a61eae
...
...
@@ -54,6 +54,7 @@ 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
);
...
...
src/misc/filter.c
View file @
07a61eae
...
...
@@ -130,6 +130,7 @@ 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
);
...
...
src/misc/filter_chain.c
View file @
07a61eae
...
...
@@ -300,6 +300,7 @@ 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
)
...
...
src/misc/image.c
View file @
07a61eae
...
...
@@ -783,6 +783,7 @@ 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
=
...
...
src/stream_output/stream_output.c
View file @
07a61eae
...
...
@@ -313,6 +313,7 @@ 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
=
...
...
@@ -435,6 +436,7 @@ 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
=
...
...
@@ -788,6 +790,7 @@ 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
=
...
...
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