GNOME Bugzilla – Bug 538560
[mpegtsparse] static caps reference counter incremented indefinitely
Last modified: 2008-06-16 14:24:12 UTC
Each calls to the function mpegts_parse_push increments the src_template.static_caps.refcount by one. Running mpegtsparse on a live mpegts source for a very long time (two or three days) drives to an error message : "Gstreamer-Critical: file gstcaps.c (gst_caps_unref): GST_CAPS_REFCOUNT_VALUE (caps) > 0" The attached patch fix this issue.
Created attachment 112815 [details] [review] fix for the bug unref the caps after gst_buffer_set_caps function call.
thanks for the patch and report. for future reference please use unified diffs as they are easier to read. thanks.