amcvideodec: Unref downstream caps after usage

https://bugzilla.gnome.org/show_bug.cgi?id=782771
This commit is contained in:
Sebastian Dröge 2017-05-18 14:34:04 +03:00
parent 80d66dfec8
commit 732012a78e

View file

@ -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);
}
}