mpegaudioparse: Don't use expensive glib ways to get an enum nick.
authorEdward Hervey <bilboed@bilboed.com>
Sat, 17 Oct 2009 11:46:13 +0000 (13:46 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 24 Oct 2009 18:37:13 +0000 (20:37 +0200)
commit33b4528a0ee79ff10475d2aa07d6783553c40cf5
tree73a8d0672943edfde24ec90004da501913a10eb2
parent90ca3dcc17df6df8f3c727ca05bccedaa24538b7
mpegaudioparse: Don't use expensive glib ways to get an enum nick.

Fixes #598761

This removes a good 50% of processing time for parsing a buffer.

We do this by simply... getting the nicks that we already have handy
instead of going through the expensive glib system.
gst/mpegaudioparse/gstmpegaudioparse.c