bnnm
9317ce9cc2
Add ffmpeg_set_skip_samples to manually fix encoder delay in some cases
2017-02-12 13:17:01 +01:00
bnnm
376b4acbb2
Minor func rename (ffmpeg_make_riff_xma2_from_fmt)
2017-01-14 22:25:15 +01:00
bnnm
f5750ba2cc
Moved make_riff_x to ffmpeg_decoder.c (only actually used by FFmpeg)
...
Also added make_riff_xma2_from_fmt_be
2017-01-13 23:47:52 +01:00
bnnm
7e520162a3
FFmpeg: remove ACCURATE_LOOPING flag now it's battle-tested
...
It's fast enough and the older looping code would need to be redone
anyway
2017-01-08 02:54:18 +01:00
bnnm
cdfd47eb7b
FFmpeg: expose block/frame size, rename totalFrames for clarity
2016-12-10 15:53:29 +01:00
bnnm
c5c97c4027
Fixed discard in edge cases
2016-12-03 18:17:37 +01:00
bnnm
0faa3286aa
Don't manually check framesRead and rely on FFmpeg's EOFs
...
FFmpeg's duration isn't always reliable (ie. bad headers) and the
decoder detects EOFs already, extra decoding attempts should be ignored.
This way vgmstream can use other values without modifying
ffmpeg_codec_data's state.
2016-12-03 11:42:38 +01:00
bnnm
609bfb5d61
Minor fixes and cleanup
2016-12-01 23:49:00 +01:00
bnnm
f5da8281e2
Move FFmpeg reset to ffmpeg_decoder (cleanup)
2016-12-01 19:58:51 +01:00
bnnm
2754f05b11
Move FFmpeg looping to ffmpeg_decoder for further changes (cleanup)
2016-11-30 23:48:49 +01:00
bnnm
b9db20283d
FFmpeg: keep block size constant (for edge loops), don't write on EOF
2016-11-29 20:22:20 +01:00
bnnm
cda61c3eeb
simplify slightly discarding
2016-11-20 18:55:00 +01:00
bnnm
729658a19c
fix discard samples (looping works now) + document
2016-11-20 15:39:21 +01:00
Christopher Snowhill
42c00f304b
Add rollback to FFmpeg loop seeking, since FFmpeg doesn't seem to institute any rollback of its own.
2016-08-14 15:18:34 -07:00
Chris Moeller
cbe9bc3d6b
Added FFmpeg support, and fixed a long standing issue with broken loops locking up the decoder.
2016-07-16 23:02:27 -07:00