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 658518 - basesink: Backport query override support
basesink: Backport query override support
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.36
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-08 02:04 UTC by Nicolas Dufresne (ndufresne)
Modified: 2011-09-08 12:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
basesink: make it easy to override the pad query (8.43 KB, patch)
2011-09-08 02:04 UTC, Nicolas Dufresne (ndufresne)
committed Details | Review

Description Nicolas Dufresne (ndufresne) 2011-09-08 02:04:58 UTC
Created attachment 195944 [details] [review]
basesink: make it easy to override the pad query

I just came across a use case where I wanted to override query method in GstBaseSink and found it would be easier if directly supported by basesink. As this was already supported by .11 and it was possible not to break API, I simply backported it.
Comment 1 Sebastian Dröge (slomo) 2011-09-08 12:47:43 UTC
commit f0219b327de5f6bb58ca17f821b951eb9a607622
Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Date:   Wed Sep 7 17:21:55 2011 -0400

    basesink: make it easy to override the pad query
    
    Add a vmethod to handle the pad query.
    Install a default handler for the pad query.
    Use the new query function in filesink