GNOME Bugzilla – Bug 796871
Basic tutorial 8 (appsrc/appsink): Should directly write data from need-data signal
Last modified: 2018-11-03 11:04:19 UTC
Currently it schedules an idle source on the mainloop from need-data and stops that idle source from enough-data. This causes people to copy this pattern everywhere while it is usually not needed at all. In real applications there are usually two options that make sense: 1) Directly push into the appsrc from some thread where the data is available anyway 2) Use the need-data signal to produce the data and push it into the appsrc. It's called from the basesrc thread so that's exactly where it makes sense to produce the data
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-docs/issues/17.