diff --git a/sys/androidmedia/gstamcvideodec.c b/sys/androidmedia/gstamcvideodec.c index bc82775d8e..becfbc52f9 100644 --- a/sys/androidmedia/gstamcvideodec.c +++ b/sys/androidmedia/gstamcvideodec.c @@ -1969,6 +1969,8 @@ gst_amc_video_dec_set_format (GstVideoDecoder * decoder, gst_video_codec_state_unref (prev_output_state); } } + + gst_caps_unref (downstream_caps); } }