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
5b3a2948
Commit
5b3a2948
authored
Mar 29, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: retain the input item.
parent
ab121fdf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/input/input.c
src/input/input.c
+3
-0
src/misc/objects.c
src/misc/objects.c
+3
-1
No files found.
src/input/input.c
View file @
5b3a2948
...
...
@@ -177,6 +177,7 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
p_input
->
i_pts_delay
=
0
;
/* Init Input fields */
vlc_gc_incref
(
p_item
);
/* Released in Destructor() */
p_input
->
p
->
input
.
p_item
=
p_item
;
p_input
->
p
->
input
.
p_access
=
NULL
;
p_input
->
p
->
input
.
p_stream
=
NULL
;
...
...
@@ -313,6 +314,8 @@ static void Destructor( input_thread_t * p_input )
sout_DeleteInstance
(
priv
->
p_sout
);
}
vlc_gc_decref
(
p_input
->
p
->
input
.
p_item
);
vlc_mutex_destroy
(
&
p_input
->
p
->
counters
.
counters_lock
);
vlc_mutex_destroy
(
&
priv
->
lock_control
);
...
...
src/misc/objects.c
View file @
5b3a2948
...
...
@@ -1234,7 +1234,9 @@ void vlc_list_release( vlc_list_t *p_list )
void
__vlc_object_dump
(
vlc_object_t
*
p_this
)
{
vlc_mutex_lock
(
&
structure_lock
);
PrintObject
(
p_this
,
"vlc_object_dump: "
);
char
psz_foo
[
2
*
MAX_DUMPSTRUCTURE_DEPTH
+
1
];
psz_foo
[
0
]
=
'|'
;
DumpStructure
(
p_this
,
0
,
psz_foo
);
vlc_mutex_unlock
(
&
structure_lock
);
}
...
...
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