gstreamer/subprojects/gst-libav/ext/libav
Edward Hervey 43dcbd5bf9 avvidec: Fix dropping wrong "ghost" frames
This fixes the code regarding dropping "ghost frames", that is to say input
frames which ended up not producing any decoded frame.

The iteration itself makes sense.. but it was stopping at the "input" frame and
not the decoded frame we just got back.

When dealing with I-frame codecs, ffmpeg will decode frames in separate frames,
so there is no guarantee that they are decoding in order.

Fixes playback issues with such codecs

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6846>
2024-05-14 14:00:01 +01:00
..
gstav.c avviddec: Introduce a class for shared properties 2022-11-02 19:23:14 +00:00
gstav.h avviddec: Introduce a class for shared properties 2022-11-02 19:23:14 +00:00
gstavauddec.c musepack: Prefer using FFmpeg musepack decoder/demuxer 2024-02-09 17:48:42 +00:00
gstavauddec.h Move files from gst-libav into the "subprojects/gst-libav/" subdir 2021-09-24 16:15:08 -03:00
gstavaudenc.c avaudenc: Add support for AV_PKT_DATA_SKIP_SAMPLES side data 2022-03-14 10:32:15 +02:00
gstavaudenc.h Move files from gst-libav into the "subprojects/gst-libav/" subdir 2021-09-24 16:15:08 -03:00
gstavcfg.c avcfg: Don't leak the support GArray when registering flag/enums 2022-11-13 06:59:11 +01:00
gstavcfg.h Move files from gst-libav into the "subprojects/gst-libav/" subdir 2021-09-24 16:15:08 -03:00
gstavcodecmap.c Revert "avvidenc: Set timebase in the ffmpeg context to nanoseconds and set framerate" 2023-01-26 15:47:55 +00:00
gstavcodecmap.h avviddec: Introduce a class for shared properties 2022-11-02 19:23:14 +00:00
gstavdeinterlace.c avdeinterlace: fix element leak 2023-04-10 19:05:35 +00:00
gstavdemux.c musepack: Prefer using FFmpeg musepack decoder/demuxer 2024-02-09 17:48:42 +00:00
gstavmux.c avmux: fix element leak 2023-04-10 19:05:35 +00:00
gstavprotocol.c Move files from gst-libav into the "subprojects/gst-libav/" subdir 2021-09-24 16:15:08 -03:00
gstavprotocol.h Move files from gst-libav into the "subprojects/gst-libav/" subdir 2021-09-24 16:15:08 -03:00
gstavutils.c avutils: Add missing space in doc 2022-11-05 15:12:08 +00:00
gstavutils.h avviddec: Introduce a class for shared properties 2022-11-02 19:23:14 +00:00
gstavviddec.c avvidec: Fix dropping wrong "ghost" frames 2024-05-14 14:00:01 +01:00
gstavviddec.h avviddec: Introduce a class for shared properties 2022-11-02 19:23:14 +00:00
gstavvidenc.c avvidenc: Don't take ffmpeg timestamps verbatim but only use them to calculate DTS 2023-01-26 15:47:55 +00:00
gstavvidenc.h avvidenc: Offset PTS to zero to fix bitrate control 2023-01-13 17:18:38 +00:00
meson.build meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00