diff options
author | Edward Hervey <edward@collabora.com> | 2013-06-05 12:49:09 +0200 |
---|---|---|
committer | Edward Hervey <edward@collabora.com> | 2013-06-05 12:49:09 +0200 |
commit | f3bf40e2b01a7bd9342465b7927900c2871f7727 (patch) | |
tree | 06ddfd379cbfc7a9527dfa127a5df7d2b4381d1f /.gitignore | |
parent | e6f0986b9e9ebd5076538fa7ca0db8d7ba6e21f7 (diff) |
mpegtspacketizer: Speed up descriptor parsing/packing
descriptors are stored as a GValueArray of GString. The downside is
that there is no way to "pass" ownership of a GValue to a GValueArray
which previously resulted in expensive copy/free of the (already expensive)
GString.
Here we estimate first the size of the GValueArray, then create it,
then directly use the GValue of that array.
Speeds up total SI parsing by ~30%
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions