gstreamer/gst
Tim-Philipp Müller 3064bf4a86 asfdemux: fix performance issue, especially with high-bitrate streams
Two things were suboptimal from a performance point of view:

a) consider a large media object such as a video keyframe, which
   may be split up into multiple fragments. We would assemble
   the media object as follows:
     buf = join (join (join (frag1, frag2), frag3), frag4)
   which causes many unnecessary memcpy()s, and malloc/free,
   which could easily add up to a multiple of the actual object
   size. To avoid this, we allocate a buffer of the size needed
   from the start and copy fragments into that directly.

b) for every fragment to join, we would create a sub-buffer
   before joining it (which would discard the sub-buffer again),
   leading to unnecessary miniobject create/free churn.

Conflicts:

	gst/asfdemux/asfpacket.c
	gst/asfdemux/asfpacket.h
2012-04-16 09:02:46 +02:00
..
asfdemux asfdemux: fix performance issue, especially with high-bitrate streams 2012-04-16 09:02:46 +02:00
dvdlpcmdec Use new gst_element_class_set_static_metadata() 2012-04-10 00:47:44 +01:00
dvdsub Use new gst_element_class_set_static_metadata() 2012-04-10 00:47:44 +01:00
mpegstream dvddemux: tweak subtitle stream setup based on dvd language codes event 2011-12-21 22:07:27 +01:00
realmedia Use new gst_element_class_set_static_metadata() 2012-04-10 00:47:44 +01:00
synaesthesia Use new gst_element_class_set_static_metadata() 2012-04-10 00:47:44 +01:00
xingmux Use new gst_element_class_set_static_metadata() 2012-04-10 00:47:44 +01:00
Makefile.am build: build plugins in parallel where possible, if make -jN is used 2010-03-30 01:18:50 +01:00