gstreamer/subprojects/gst-libav/ext/libav
Edward Hervey 64cac1ed99 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/6842>
2024-05-14 13:52:52 +02:00
..
gstav.c gst-libav: add avvideocompare element 2023-05-04 19:34:06 +00:00
gstav.h gst-libav: add avvideocompare element 2023-05-04 19:34:06 +00:00
gstavauddec.c musepack: Prefer using FFmpeg musepack decoder/demuxer 2024-02-09 12:15:14 +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: Avoid double-freeing frame's extended data 2024-03-14 16:35:21 +00:00
gstavaudenc.h Move files from gst-libav into the "subprojects/gst-libav/" subdir 2021-09-24 16:15:08 -03:00
gstavcfg.c libav: guard dropped AV_OPT_TYPE_CHANNEL_LAYOUT 2024-04-02 07:12:37 +00:00
gstavcfg.h Move files from gst-libav into the "subprojects/gst-libav/" subdir 2021-09-24 16:15:08 -03:00
gstavcodecmap.c avcodecmap: Increase max AAC channels to 16 2024-03-14 16:35:21 +00:00
gstavcodecmap.h libav: Port channel layout and counting to AVChannelLayout 2024-01-17 08:39:13 +00:00
gstavdeinterlace.c avdeinterlace: fix element leak 2023-04-10 17:59:30 +01:00
gstavdemux.c musepack: Prefer using FFmpeg musepack decoder/demuxer 2024-02-09 12:15:14 +00:00
gstavmux.c libav: set the frame rate values in ffmpeg stream context 2023-04-27 06:45:26 +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
gstavvidcmp.c gst-libav: add avvideocompare element 2023-05-04 19:34:06 +00:00
gstavviddec.c avvidec: Fix dropping wrong "ghost" frames 2024-05-14 13:52:52 +02:00
gstavviddec.h avviddec: Introduce a class for shared properties 2022-11-02 19:23:14 +00:00
gstavvidenc.c libav: guard dropped AV_CODEC_ID_AYUV api 2024-04-02 07:12:37 +00:00
gstavvidenc.h avvidenc: Offset PTS to zero to fix bitrate control 2023-01-13 17:18:38 +00:00
meson.build gst-libav: add avvideocompare element 2023-05-04 19:34:06 +00:00