Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
4cebdb5b
Commit
4cebdb5b
authored
Oct 23, 2010
by
Laurent Aimar
Browse files
Improved video-splitter changes by seeking back to try to resynch on I frames.
parent
84d2f956
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/playlist/engine.c
View file @
4cebdb5b
...
...
@@ -140,7 +140,11 @@ static int VideoSplitterCallback( vlc_object_t *p_this, char const *psz_cmd,
/* Force the input to restart the video ES to force a vout recreation */
input_thread_t
*
p_input
=
pl_priv
(
p_playlist
)
->
p_input
;
if
(
p_input
)
{
const
double
f_position
=
var_GetFloat
(
p_input
,
"position"
);
input_Control
(
p_input
,
INPUT_RESTART_ES
,
-
VIDEO_ES
);
var_SetFloat
(
p_input
,
"position"
,
f_position
);
}
PL_UNLOCK
;
return
VLC_SUCCESS
;
...
...
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