8 Commits

Author SHA1 Message Date
Rany
7b09cb2de4
Fix runtime error in FFmpeg core when build with FFmpeg n5.1.2 and OpenGL ES (#14710)
* include libavcodec/version.h in video_buffer.h

Without this header video_decoder_context_t may be defined as different structure
in video_buffer.c and ffmpeg_core.c

* Fix the wrong data pointer for glTexImage2D when OpenGL ES enabled
2022-12-08 12:45:07 +01:00
Keith Bowes
bbfcecfab0
Fix building against FFmpeg 5.0 (#13611)
Co-authored-by: Maxime Gauduin <alucryd@archlinux.org>
2022-02-18 18:40:54 +01:00
Mark W. Kidd
2b3dfeb10c standardize include path for config.h 2021-08-18 18:54:40 -04:00
twinaphex
1b4cbf3ed5 (ffmpeg core) Struct reordering, alignment 2020-08-16 04:23:15 +02:00
jdgleaver
0fcc5a784e (ffmpeg) Fix memory leak/struct member issue 2020-08-05 16:47:04 +01:00
twinaphex
53797b15ce CXX_BUILD buildfix 2020-06-30 22:15:49 +02:00
Nils Hasenbanck
1e54379141 Implemented the packet buffer.
Simply use two packet_buffers that are double-linked lists of
AVPacket structs. This way we can control which packets to feed
to the decoders at the right time.

This solves the playback problem with the MP4 files.
2020-01-08 20:44:00 +01:00
Nils Hasenbanck
c6309d963d Remove video fifo in ffmpeg core.
The video fifo can be removed, since we have a ring buffer in it's
place. This removes unneeded copy operations and as a positive side
improves overall decoding speed.

Makes 8k60p SW and 4k60p HW decoding possible on my system.

For now the ring buffer is 32 images deep. This limitation will
be removed, once audio and video decoder have their own
packet handling.
2019-12-23 16:07:34 +01:00