Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
mediastreamer2
Commits
af6d6513
Commit
af6d6513
authored
Jan 25, 2016
by
François Grisez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix MS_PLAYER_SET_LOOP in MKVPlayer filter
parent
7b1b79e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/videofilters/mkv.c
src/videofilters/mkv.c
+2
-1
No files found.
src/videofilters/mkv.c
View file @
af6d6513
...
...
@@ -2413,9 +2413,10 @@ static ms_bool_t mkv_player_seek_ms(MKVPlayer *obj, int position) {
ms_error
(
"MKVPlayer: cannot seek. No file open"
);
return
FALSE
;
}
obj
->
time
=
mkv_reader_seek
(
obj
->
reader
,
position
);
obj
->
time
=
position
>
0
?
mkv_reader_seek
(
obj
->
reader
,
position
)
:
0
;
for
(
i
=
0
;
i
<
2
;
i
++
)
{
if
(
obj
->
players
[
i
])
{
if
(
position
==
0
)
mkv_track_reader_reset
(
obj
->
players
[
i
]
->
track_reader
);
mkv_track_player_reset
(
obj
->
players
[
i
]);
}
}
...
...
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