gstvalue: some micro-optimisations
authorTim-Philipp Müller <tim@centricular.net>
Sat, 22 Dec 2012 16:29:03 +0000 (16:29 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 22 Dec 2012 16:38:58 +0000 (16:38 +0000)
commit172011d1f59d7ab491ff37d365f0156cd1c1ae14
tree4bfc373431e8b3c0b6e2f57bd7740934c4d563a7
parentb80304d64cc6b9725621428a0e0927078d5c6c50
gstvalue: some micro-optimisations

Avoid unnecessary value copying, and unnecessary init/unset
cycles which all go through the value table. There's a bunch
of places where we copy a value and then unset it in the next
line, instead of just taking over the source value.
gst/gstvalue.c