Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
lscsoft
gstlal
Commits
b6936aca
Commit
b6936aca
authored
Oct 06, 2019
by
Patrick Godwin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
multichannel_datasource.py: increase block size for frame writing to help with NFS
parent
44289a87
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gstlal-burst/python/snax/multichannel_datasource.py
gstlal-burst/python/snax/multichannel_datasource.py
+1
-1
No files found.
gstlal-burst/python/snax/multichannel_datasource.py
View file @
b6936aca
...
@@ -669,7 +669,7 @@ def mkbasicmultisrc(pipeline, data_source_info, channels, verbose = False):
...
@@ -669,7 +669,7 @@ def mkbasicmultisrc(pipeline, data_source_info, channels, verbose = False):
elif
data_source_info
.
data_source
==
"white_live"
:
elif
data_source_info
.
data_source
==
"white_live"
:
head
=
{
channel
:
pipeparts
.
mkfakesrc
(
pipeline
,
instrument
=
data_source_info
.
instrument
,
channel_name
=
channel
,
volume
=
1.0
,
is_live
=
True
,
rate
=
data_source_info
.
channel_dict
[
channel
][
'fsamp'
],
timestamp_offset
=
int
(
data_source_info
.
seg
[
0
])
*
Gst
.
SECOND
)
for
channel
in
channels
}
head
=
{
channel
:
pipeparts
.
mkfakesrc
(
pipeline
,
instrument
=
data_source_info
.
instrument
,
channel_name
=
channel
,
volume
=
1.0
,
is_live
=
True
,
rate
=
data_source_info
.
channel_dict
[
channel
][
'fsamp'
],
timestamp_offset
=
int
(
data_source_info
.
seg
[
0
])
*
Gst
.
SECOND
)
for
channel
in
channels
}
elif
data_source_info
.
data_source
==
"frames"
:
elif
data_source_info
.
data_source
==
"frames"
:
src
=
pipeparts
.
mklalcachesrc
(
pipeline
,
location
=
data_source_info
.
frame_cache
,
cache_src_regex
=
data_source_info
.
instrument
[
0
],
cache_dsc_regex
=
data_source_info
.
instrument
)
src
=
pipeparts
.
mklalcachesrc
(
pipeline
,
location
=
data_source_info
.
frame_cache
,
cache_src_regex
=
data_source_info
.
instrument
[
0
],
cache_dsc_regex
=
data_source_info
.
instrument
,
blocksize
=
1048576
)
demux
=
pipeparts
.
mkframecppchanneldemux
(
pipeline
,
src
,
do_file_checksum
=
False
,
skip_bad_files
=
True
,
channel_list
=
channels
)
demux
=
pipeparts
.
mkframecppchanneldemux
(
pipeline
,
src
,
do_file_checksum
=
False
,
skip_bad_files
=
True
,
channel_list
=
channels
)
# allow frame reading and decoding to occur in a different
# allow frame reading and decoding to occur in a different
# thread
# thread
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment