Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
4b59de99
Commit
4b59de99
authored
Feb 20, 2004
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/stream_out/transcode.c: fixed a segfault when quitting.
parent
8c816feb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+9
-8
No files found.
modules/stream_out/transcode.c
View file @
4b59de99
...
...
@@ -2,7 +2,7 @@
* transcode.c: transcoding stream output module
*****************************************************************************
* Copyright (C) 2003-2004 VideoLAN
* $Id: transcode.c,v 1.7
6 2004/02/20 18:34:28
massiot Exp $
* $Id: transcode.c,v 1.7
7 2004/02/20 19:03:59
massiot Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -1205,6 +1205,14 @@ static int transcode_video_ffmpeg_new( sout_stream_t *p_stream,
static
void
transcode_video_ffmpeg_close
(
sout_stream_t
*
p_stream
,
sout_stream_id_t
*
id
)
{
if
(
p_stream
->
p_sys
->
i_threads
>=
1
)
{
p_stream
->
p_sys
->
b_die
=
1
;
vlc_thread_join
(
p_stream
->
p_sys
);
vlc_mutex_destroy
(
&
p_stream
->
p_sys
->
lock_out
);
vlc_cond_destroy
(
&
p_stream
->
p_sys
->
cond
);
}
/* Close decoder */
if
(
id
->
ff_dec
)
{
...
...
@@ -1242,13 +1250,6 @@ static void transcode_video_ffmpeg_close ( sout_stream_t *p_stream,
{
img_resample_close
(
id
->
p_vresample
);
}
if
(
p_stream
->
p_sys
->
i_threads
>=
1
)
{
p_stream
->
p_sys
->
b_die
=
1
;
vlc_thread_join
(
p_stream
->
p_sys
);
vlc_mutex_destroy
(
&
p_stream
->
p_sys
->
lock_out
);
vlc_cond_destroy
(
&
p_stream
->
p_sys
->
cond
);
}
}
static
int
transcode_video_ffmpeg_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