Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f73f68b8
Commit
f73f68b8
authored
Oct 21, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
utils: flush on successfull av_seek_frame_binary()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
db1347f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
+15
-14
utils.c
libavformat/utils.c
+1
-0
lavf_asf
tests/ref/seek/lavf_asf
+14
-14
No files found.
libavformat/utils.c
View file @
f73f68b8
...
...
@@ -1602,6 +1602,7 @@ int av_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts
if
((
ret
=
avio_seek
(
s
->
pb
,
pos
,
SEEK_SET
))
<
0
)
return
ret
;
ff_read_frame_flush
(
s
);
av_update_cur_dts
(
s
,
st
,
ts
);
return
0
;
...
...
tests/ref/seek/lavf_asf
View file @
f73f68b8
...
...
@@ -2,51 +2,51 @@ ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 575 size: 28487
ret: 0 st:-1 flags:0 ts:-1.000000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 575 size: 28487
ret: 0 st:-1 flags:1 ts: 1.894167
ret: 0 st: 1 flags:1 dts: 0.9
60000 pts: 0.960000 pos: -1
size: 209
ret: 0 st: 1 flags:1 dts: 0.9
40000 pts: 0.940000 pos: 301375
size: 209
ret: 0 st: 0 flags:0 ts: 0.788000
ret: 0 st: 1 flags:1 dts: 0.9
60000 pts: 0.960000 pos: -1
size: 209
ret: 0 st: 1 flags:1 dts: 0.9
40000 pts: 0.940000 pos: 301375
size: 209
ret: 0 st: 0 flags:1 ts:-0.317000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 575 size: 28487
ret: 0 st: 1 flags:0 ts: 2.577000
ret: 0 st: 1 flags:1 dts: 0.967000 pts: 0.967000 pos:
-1
size: 209
ret: 0 st: 1 flags:1 dts: 0.967000 pts: 0.967000 pos:
330175
size: 209
ret: 0 st: 1 flags:1 ts: 1.471000
ret: 0 st: 1 flags:1 dts: 0.967000 pts: 0.967000 pos:
-1
size: 209
ret: 0 st: 1 flags:1 dts: 0.967000 pts: 0.967000 pos:
330175
size: 209
ret: 0 st:-1 flags:0 ts: 0.365002
ret: 0 st: 1 flags:1 dts: 0.444000 pts: 0.444000 pos: 147775 size: 209
ret: 0 st:-1 flags:1 ts:-0.740831
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 575 size: 28487
ret: 0 st: 0 flags:0 ts: 2.153000
ret: 0 st: 1 flags:1 dts: 0.9
60000 pts: 0.960000 pos: -1
size: 209
ret: 0 st: 1 flags:1 dts: 0.9
40000 pts: 0.940000 pos: 301375
size: 209
ret: 0 st: 0 flags:1 ts: 1.048000
ret: 0 st: 1 flags:1 dts: 0.9
60000 pts: 0.960000 pos: -1
size: 209
ret: 0 st: 1 flags:1 dts: 0.9
40000 pts: 0.940000 pos: 301375
size: 209
ret: 0 st: 1 flags:0 ts:-0.058000
ret: 0 st: 1 flags:1 dts: 0.000000 pts: 0.000000 pos: 29375 size: 208
ret: 0 st: 1 flags:1 ts: 2.836000
ret: 0 st: 1 flags:1 dts: 0.967000 pts: 0.967000 pos:
-1
size: 209
ret: 0 st: 1 flags:1 dts: 0.967000 pts: 0.967000 pos:
330175
size: 209
ret: 0 st:-1 flags:0 ts: 1.730004
ret: 0 st: 1 flags:1 dts: 0.9
60000 pts: 0.960000 pos: -1
size: 209
ret: 0 st: 1 flags:1 dts: 0.9
40000 pts: 0.940000 pos: 301375
size: 209
ret: 0 st:-1 flags:1 ts: 0.624171
ret: 0 st: 1 flags:1 dts: 0.444000 pts: 0.444000 pos: 147775 size: 209
ret: 0 st: 0 flags:0 ts:-0.482000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 575 size: 28487
ret: 0 st: 0 flags:1 ts: 2.413000
ret: 0 st: 1 flags:1 dts: 0.9
60000 pts: 0.960000 pos: -1
size: 209
ret: 0 st: 1 flags:1 dts: 0.9
40000 pts: 0.940000 pos: 301375
size: 209
ret: 0 st: 1 flags:0 ts: 1.307000
ret: 0 st: 1 flags:1 dts: 0.967000 pts: 0.967000 pos:
-1
size: 209
ret: 0 st: 1 flags:1 dts: 0.967000 pts: 0.967000 pos:
330175
size: 209
ret: 0 st: 1 flags:1 ts: 0.201000
ret: 0 st: 1 flags:1 dts: 0.183000 pts: 0.183000 pos: 70975 size: 209
ret: 0 st:-1 flags:0 ts:-0.904994
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 575 size: 28487
ret: 0 st:-1 flags:1 ts: 1.989173
ret: 0 st: 1 flags:1 dts: 0.9
60000 pts: 0.960000 pos: -1
size: 209
ret: 0 st: 1 flags:1 dts: 0.9
40000 pts: 0.940000 pos: 301375
size: 209
ret: 0 st: 0 flags:0 ts: 0.883000
ret: 0 st: 1 flags:1 dts: 0.9
60000 pts: 0.960000 pos: -1
size: 209
ret: 0 st: 1 flags:1 dts: 0.9
40000 pts: 0.940000 pos: 301375
size: 209
ret: 0 st: 0 flags:1 ts:-0.222000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 575 size: 28487
ret: 0 st: 1 flags:0 ts: 2.672000
ret: 0 st: 1 flags:1 dts: 0.967000 pts: 0.967000 pos:
-1
size: 209
ret: 0 st: 1 flags:1 dts: 0.967000 pts: 0.967000 pos:
330175
size: 209
ret: 0 st: 1 flags:1 ts: 1.566000
ret: 0 st: 1 flags:1 dts: 0.967000 pts: 0.967000 pos:
-1
size: 209
ret: 0 st: 1 flags:1 dts: 0.967000 pts: 0.967000 pos:
330175
size: 209
ret: 0 st:-1 flags:0 ts: 0.460008
ret: 0 st: 1 flags:1 dts: 0.444000 pts: 0.444000 pos: 147775 size: 209
ret: 0 st:-1 flags:1 ts:-0.645825
...
...
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