After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 590146 - adder regressions
adder regressions
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.25
Assigned To: Stefan Sauer (gstreamer, gtkdoc dev)
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-29 14:10 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2009-08-31 20:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
3 fixes (2.20 KB, patch)
2009-07-29 14:13 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
accepted-commit_now Details | Review

Description Stefan Sauer (gstreamer, gtkdoc dev) 2009-07-29 14:10:18 UTC
Three things:
1.) Also use the capsfilter if there is no src-peer as the caps constrain what we can do
2.) Don't create any_caps as a default, as we check for NULL to skip the filtering. This is a (small) performance regression as we always intersect.
3.) Reset newly introduced flush_stop_pending in state_changed.

I can split the changes, if wanted.
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2009-07-29 14:13:02 UTC
Created attachment 139479 [details] [review]
3 fixes
Comment 2 Edward Hervey 2009-07-30 09:30:33 UTC
The third part (resetting flush_stop_pending) is 100% ok with me.

I still need to grasp the other changes though (never used the caps property of adder).
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2009-07-30 10:49:07 UTC
commit 7205bbc0315eb0e76cd83e38132efbaae80af60c
Author: Stefan Kost <ensonic@users.sf.net>
Date:   Thu Jul 30 13:42:21 2009 +0300

    adder: reset pending flush-stop flag in state_changed. (mostly) Fixes #590146.

I'll commit the rest after the release.
Comment 4 Stefan Sauer (gstreamer, gtkdoc dev) 2009-08-31 20:07:25 UTC
commit e7368354d514117c05636fca816966caba5ce0ed
Author: Stefan Kost <ensonic@users.sf.net>
Date:   Mon Aug 31 22:48:01 2009 +0300

    adder: improve caps filter functionality. Fixes #590146.
    
    Also use the capsfilter if there is no src-peer as the caps constrain what
    we can do. Don't create any_caps as a default, as we check for NULL to skip the
    filtering. This is a (small) performance regression as we always intersect
    otherwise.