mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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:
parent
4638f15de2
commit
d05d29d0c9
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue