filesrc: set default block size from local define

Doesn't actually change the default value, just makes use of the
define there is. Superficial testing with fakesink and jpegdec did
not reveal improved performance for bigger block sizes, so leave
default as it is.
This commit is contained in:
Tim-Philipp Müller 2012-04-07 15:20:05 +01:00
parent 4638f15de2
commit d05d29d0c9

View file

@ -332,6 +332,8 @@ gst_file_src_init (GstFileSrc * src, GstFileSrcClass * g_class)
src->sequential = DEFAULT_SEQUENTIAL;
src->is_regular = FALSE;
gst_base_src_set_blocksize (GST_BASE_SRC (src), DEFAULT_BLOCKSIZE);
}
static void