diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-06-14 15:51:25 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-06-14 15:51:25 +0000 |
commit | 1051e57b36ab07667e38c2ba5c98357a80991114 (patch) | |
tree | d177ec050796ed69f33fe3aad90272299dc9ac79 /sys/v4l2/v4l2src_calls.c | |
parent | 7a118610ed79903a7b709500cf6074814e0db48c (diff) |
gst/matroska/: Reverse the level list as we usually are only interested in the first element or want to add a new fir...
Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_level_free),
(gst_ebml_finalize), (gst_ebml_read_change_state),
(gst_ebml_read_element_level_up), (gst_ebml_read_master):
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_contents_seekentry):
Reverse the level list as we usually are only interested in the
first element or want to add a new first element. Having the
first element stored at the end and calling g_list_last() and
g_list_append() is more expensive.
Also use GSlice for allocating the GstEbmlLevel structs.
Diffstat (limited to 'sys/v4l2/v4l2src_calls.c')
0 files changed, 0 insertions, 0 deletions