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
f6511af8
Commit
f6511af8
authored
Apr 14, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put i_filter/i_vfilter to 0 after releasing all filters.
parent
0b4fc579
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+4
-0
No files found.
modules/stream_out/transcode.c
View file @
f6511af8
...
@@ -1424,6 +1424,7 @@ static void transcode_audio_close( sout_stream_t *p_stream,
...
@@ -1424,6 +1424,7 @@ static void transcode_audio_close( sout_stream_t *p_stream,
module_Unneed
(
id
->
pp_filter
[
i
],
id
->
pp_filter
[
i
]
->
p_module
);
module_Unneed
(
id
->
pp_filter
[
i
],
id
->
pp_filter
[
i
]
->
p_module
);
vlc_object_destroy
(
id
->
pp_filter
[
i
]
);
vlc_object_destroy
(
id
->
pp_filter
[
i
]
);
}
}
id
->
i_filter
=
0
;
}
}
static
int
transcode_audio_process
(
sout_stream_t
*
p_stream
,
static
int
transcode_audio_process
(
sout_stream_t
*
p_stream
,
...
@@ -1995,6 +1996,8 @@ static void transcode_video_close( sout_stream_t *p_stream,
...
@@ -1995,6 +1996,8 @@ static void transcode_video_close( sout_stream_t *p_stream,
vlc_object_destroy
(
id
->
pp_filter
[
i
]
);
vlc_object_destroy
(
id
->
pp_filter
[
i
]
);
}
}
id
->
i_filter
=
0
;
for
(
i
=
0
;
i
<
id
->
i_vfilter
;
i
++
)
for
(
i
=
0
;
i
<
id
->
i_vfilter
;
i
++
)
{
{
vlc_object_detach
(
id
->
pp_vfilter
[
i
]
);
vlc_object_detach
(
id
->
pp_vfilter
[
i
]
);
...
@@ -2012,6 +2015,7 @@ static void transcode_video_close( sout_stream_t *p_stream,
...
@@ -2012,6 +2015,7 @@ static void transcode_video_close( sout_stream_t *p_stream,
vlc_object_destroy
(
id
->
pp_vfilter
[
i
]
);
vlc_object_destroy
(
id
->
pp_vfilter
[
i
]
);
}
}
id
->
i_vfilter
=
0
;
}
}
static
int
transcode_video_process
(
sout_stream_t
*
p_stream
,
static
int
transcode_video_process
(
sout_stream_t
*
p_stream
,
...
...
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