gstevent: Use structure property directly, avoid function variable.
authorEdward Hervey <bilboed@bilboed.com>
Tue, 14 Sep 2010 11:08:57 +0000 (13:08 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 3 Dec 2010 10:33:37 +0000 (11:33 +0100)
commit6b002234cd8d57896d28eedb8f4a5c08729dccc1
tree84c80806fd5ce1cce95597eabdd5221af0b35029
parentcec2a428087103bb180f95d260a7cd1dff1fb1b3
gstevent: Use structure property directly, avoid function variable.

All functions in this file can access the structure field of an event directly.
This avoids having to call gst_query_get_structure() to get it, along with being
able to remove some function variables that were used to store the result of that
function.
gst/gstevent.c