[Bug 665355] [basevideodecoder] deletes frame but keeps it in list
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Dec 5 02:12:43 PST 2011
https://bugzilla.gnome.org/show_bug.cgi?id=665355
GStreamer | gst-plugins-bad | 0.11.x
--- Comment #11 from Matej Knopp <matej.knopp at gmail.com> 2011-12-05 10:12:39 UTC ---
I do remove all frames in gst_base_video_decoder_clear_queues.
+ g_list_foreach (GST_BASE_VIDEO_CODEC (dec)->frames,
+ (GFunc) gst_video_frame_state_unref, NULL);
+ g_list_free (GST_BASE_VIDEO_CODEC (dec)->frames);
+ GST_BASE_VIDEO_CODEC (dec)->frames = NULL;
I don't do it for encoder though.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list