From: <tp...@ke...> - 2009-05-29 18:39:03
|
Module: gstreamer Branch: master Commit: bc7c7e983668f5379cc192935367def6831965d7 URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=bc7c7e983668f5379cc192935367def6831965d7 Author: Tim-Philipp Müller <tim...@co...> Date: Fri May 29 18:00:06 2009 +0100 micro-optimisation: use GST_QUARK in more places Use gst_structure_id_empty_new() in combination with GST_QUARK rather than gst_structure_id_new() when creating message, event, query and taglist structures. Mostly just because we can. --- gst/gstevent.c | 10 +++++----- gst/gstmessage.c | 30 +++++++++++++++--------------- gst/gstquark.c | 11 ++++++++++- gst/gstquark.h | 33 +++++++++++++++++++++++++++++++-- gst/gstquery.c | 18 +++++++++--------- gst/gsttaglist.c | 9 +++------ 6 files changed, 73 insertions(+), 38 deletions(-) Diff: http://cgit.freedesktop.org/gstreamer/gstreamer/diff/?id=bc7c7e983668f5379cc192935367def6831965d7 |