intervideosrc: Fix a memory leak

Frees the source ARGB black frame that we use to create the black frame
in our target format.
This commit is contained in:
Arun Raghavan 2014-12-05 13:12:59 +05:30
parent 3910cbe7ce
commit 226a4fcea3

View file

@ -243,6 +243,7 @@ gst_inter_video_src_set_caps (GstBaseSrc * base, GstCaps * caps)
gst_video_converter_free (converter);
gst_video_frame_unmap (&src_frame);
gst_video_frame_unmap (&dest_frame);
gst_buffer_unref (src);
intervideosrc->black_frame = dest;
return TRUE;