Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
932163e1
Commit
932163e1
authored
Aug 30, 2004
by
gbazin
Browse files
* modules/stream_out/transcode.c: don't segfault when video encoder or filter can't be opened.
parent
51d84ecb
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/stream_out/transcode.c
View file @
932163e1
...
...
@@ -1388,6 +1388,7 @@ static int transcode_video_process( sout_stream_t *p_stream,
{
transcode_video_close
(
p_stream
,
id
);
id
->
b_transcode
=
VLC_FALSE
;
return
VLC_EGENERIC
;
}
/* Deinterlace */
...
...
@@ -1446,6 +1447,10 @@ static int transcode_video_process( sout_stream_t *p_stream,
msg_Dbg
(
p_stream
,
"no video filter found"
);
vlc_object_detach
(
id
->
pp_filter
[
id
->
i_filter
]
);
vlc_object_destroy
(
id
->
pp_filter
[
id
->
i_filter
]
);
transcode_video_close
(
p_stream
,
id
);
id
->
b_transcode
=
VLC_FALSE
;
return
VLC_EGENERIC
;
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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