[Bug 662777] Caps negotiation got a lot slow since the last release

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 29 03:15:17 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=662777
  GStreamer | gstreamer (core) | git

Stefan Sauer (gstreamer, gtkdoc dev) <ensonic> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ensonic at sonicpulse.de

--- Comment #29 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2011-11-29 11:15:12 UTC ---
For me things become a bit slower with the remaining two patches (before and
after):


GST_DEBUG_NO_COLOR=1 GST_DEBUG="bt-core:3" ~/buzztard/bin/buzztard-cmd -c p -i
/home/ensonic/Dropbox/buzztard-songs/sunday.bzt 2>&1 | grep
on_song_state_changed": playback started" 
0:00:00.695180015 28916      0x24990f0 INFO                 bt-core
song.c:538:on_song_state_changed: playback started
0:00:00.690175289 28950      0x228b0f0 INFO                 bt-core
song.c:538:on_song_state_changed: playback started
0:00:00.698121161 29015      0x101c0f0 INFO                 bt-core
song.c:538:on_song_state_changed: playback started

0:00:00.700914970 31222       0xab20f0 INFO                 bt-core
song.c:538:on_song_state_changed: playback started
0:00:00.712962907 31256       0xb260f0 INFO                 bt-core
song.c:538:on_song_state_changed: playback started
0:00:00.704535266 31289       0xc0b0f0 INFO                 bt-core
song.c:538:on_song_state_changed: playback started

I think this is because of the overhead if the caps cannot be simplified. Would
it make sense to check if the caps are fixed or size=1 before doing the copy
and calling gst_caps_do_simplify_keep_ordering() ?

I'll retest this tonight on my netbook.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list