975c2cfdb9
Bink: add a queue for video frames
...
Decode one or more video frames in advance. This prevents the input
stream blocking while waiting for video packets to be drained, and
makes the playback smoother.
Also factor out reclamation of processed audio buffers, which is now
independent from decoding new packets.
2020-06-03 14:00:24 +02:00
b9e2075c7e
Bink: minor reorder in AL init
2020-05-31 13:51:44 +02:00
2515a50a52
Bink: remove useless memset
...
Actual audio data is copied over it anyway.
2020-05-31 13:20:36 +02:00
2793d4f39b
Bink: s/ReadFrame/ReadPacket
2020-05-31 13:02:27 +02:00
1fa524ff67
Bink: simplify AL buffer reclamation code
2020-05-31 12:37:55 +02:00
2bc7bac0f3
Bink: move format-independent AL initialization to BinkStartMovie
2020-05-31 12:34:18 +02:00
ea39a84273
Bink: fix audio sample conversion
2020-05-31 10:55:11 +02:00
1f5fc9343a
Bink: free sws context when destroying a movie
2020-05-30 02:32:31 +02:00
e6a01e2379
Bink: clean up headers and formatting
2020-05-30 02:32:31 +02:00
3c3b436cc1
Replace deprecated ffmpeg functions and types
...
Refactor and update decoding functions. Use absolute frame times to
maintain consistent video FPS.
2020-05-30 02:32:31 +02:00
628a27b38b
Remove deprecated ffmpeg initialization
2020-05-30 02:32:30 +02:00
e5ce2cb250
Don’t return a value from void function
2020-04-23 18:52:43 +02:00
gaa-cifasis
310cf0da7c
merged support for playing bink cutscenes and added 1366x768 resolution
2019-08-20 03:56:27 +02:00