diff options
author | Josep Torra <n770galaxy@gmail.com> | 2009-08-07 18:17:28 +0200 |
---|---|---|
committer | Josep Torra <n770galaxy@gmail.com> | 2009-08-07 18:17:28 +0200 |
commit | 3c22fb611bdbc9bc3a768264ea3e8b726d2c231c (patch) | |
tree | bb8c57b68fcee199a58b5383028394fd71c5bada /scripts | |
parent | 782965be9f6442155a3754def8dc05d8f4db0394 (diff) | |
download | gst-plugins-bad-3c22fb611bdbc9bc3a768264ea3e8b726d2c231c.tar.gz gst-plugins-bad-3c22fb611bdbc9bc3a768264ea3e8b726d2c231c.tar.bz2 gst-plugins-bad-3c22fb611bdbc9bc3a768264ea3e8b726d2c231c.zip |
mpegpsdemux: improved demuxer performance
Increased performance doing pull_range in blocks of 32Kb instead of 4Kb.
Caching the value of gst_adapter_available instead of calling it 3 times.
Added some comments with the header descriptions.
Peek enough data to avoid a corner case where could be readed data outside
the buffer.
Speed up some more inlining some functions and keeping another stream pointer
list to be used as iterator.
Sprinkle branch prediction macros accross the code.
Handling the seeking with flush in pull mode in the proper way.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions