diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstav1decoder.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstav1decoder.c index eadd78ae44..95fee9365d 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstav1decoder.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstav1decoder.c @@ -782,7 +782,7 @@ out: if (priv->current_picture) gst_av1_picture_unref (priv->current_picture); - gst_video_decoder_drop_frame (decoder, frame); + gst_video_decoder_release_frame (decoder, frame); } gst_av1_decoder_drain_output_queue (self, diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gsth264decoder.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gsth264decoder.c index ea69845ada..065ae668eb 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gsth264decoder.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gsth264decoder.c @@ -570,7 +570,7 @@ gst_h264_decoder_handle_frame (GstVideoDecoder * decoder, ("Failed to decode data"), (NULL), decode_ret); } - gst_video_decoder_drop_frame (decoder, frame); + gst_video_decoder_release_frame (decoder, frame); gst_clear_h264_picture (&priv->current_picture); priv->current_frame = NULL; @@ -1850,7 +1850,7 @@ gst_h264_decoder_finish_current_picture (GstH264Decoder * self, priv->current_picture->nonexisting = TRUE; /* this fake nonexisting picture will not trigger ouput_picture() */ - gst_video_decoder_drop_frame (GST_VIDEO_DECODER (self), + gst_video_decoder_release_frame (GST_VIDEO_DECODER (self), gst_video_codec_frame_ref (priv->current_frame)); } } diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gsth265decoder.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gsth265decoder.c index b247774cad..a7034e5768 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gsth265decoder.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gsth265decoder.c @@ -2068,7 +2068,7 @@ gst_h265_decoder_handle_frame (GstVideoDecoder * decoder, ("Failed to decode data"), (NULL), decode_ret); } - gst_video_decoder_drop_frame (decoder, frame); + gst_video_decoder_release_frame (decoder, frame); gst_clear_h265_picture (&priv->current_picture); return decode_ret; diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstmpeg2decoder.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstmpeg2decoder.c index 80a04a8196..1e36031999 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstmpeg2decoder.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstmpeg2decoder.c @@ -1320,7 +1320,7 @@ failed: ret); } - gst_video_decoder_drop_frame (decoder, frame); + gst_video_decoder_release_frame (decoder, frame); gst_clear_mpeg2_picture (&priv->current_picture); gst_clear_mpeg2_picture (&priv->first_field); priv->current_frame = NULL; diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstvp8decoder.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstvp8decoder.c index 3c0224ab42..b0f1ac82e1 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstvp8decoder.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstvp8decoder.c @@ -404,7 +404,7 @@ gst_vp8_decoder_handle_frame (GstVideoDecoder * decoder, GST_PTR_FORMAT, in_buf); gst_buffer_unmap (in_buf, &map); - gst_video_decoder_drop_frame (decoder, frame); + gst_video_decoder_release_frame (decoder, frame); return GST_FLOW_OK; } @@ -516,7 +516,7 @@ error: ("Failed to decode data"), (NULL), ret); } - gst_video_decoder_drop_frame (decoder, frame); + gst_video_decoder_release_frame (decoder, frame); return ret; } diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstvp9decoder.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstvp9decoder.c index 8a09b55a1c..9dfd8e1d65 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstvp9decoder.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstvp9decoder.c @@ -594,7 +594,7 @@ error: ("Failed to decode data"), (NULL), ret); } - gst_video_decoder_drop_frame (decoder, frame); + gst_video_decoder_release_frame (decoder, frame); return ret; }