GNOME Bugzilla – Bug 773510
speexenc: Fix segment before caps event when draining
Last modified: 2018-11-03 15:13:16 UTC
Don't send a segment event if we haven't produced data and set the output caps yet. Doing so causes a g_warning about sticky event misordering.
Created attachment 338476 [details] [review] speexenc: Fix segment before caps event when draining
Comment on attachment 338476 [details] [review] speexenc: Fix segment before caps event when draining speexenc updating a segment, or in general sending a segment event at all, seems problematic. See also https://bugzilla.gnome.org/show_bug.cgi?id=768763 for another example of why that's usually not a good idea. Maybe that should be removed all together?
-- 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-plugins-good/issues/313.