Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
gstlal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lscsoft
gstlal
Commits
1627347a
Commit
1627347a
authored
Oct 17, 2019
by
Aaron Viets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lal_dqtukey: don't pass gaps downstream, since the timestamps on those gaps are wrong.
parent
7a6e8f65
Pipeline
#84467
passed with stages
in 36 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
gstlal-calibration/gst/lal/gstlal_dqtukey.c
gstlal-calibration/gst/lal/gstlal_dqtukey.c
+2
-6
No files found.
gstlal-calibration/gst/lal/gstlal_dqtukey.c
View file @
1627347a
...
...
@@ -373,7 +373,7 @@ DEFINE_DQ_TO_TUKEY(uint, 32, double)
*/
static
void
set_metadata
(
GSTLALDQTukey
*
element
,
GstBuffer
*
buf
,
guint64
outsamples
,
gboolean
gap
)
{
static
void
set_metadata
(
GSTLALDQTukey
*
element
,
GstBuffer
*
buf
,
guint64
outsamples
)
{
GST_BUFFER_OFFSET
(
buf
)
=
element
->
next_out_offset
;
element
->
next_out_offset
+=
outsamples
;
...
...
@@ -384,10 +384,6 @@ static void set_metadata(GSTLALDQTukey *element, GstBuffer *buf, guint64 outsamp
GST_BUFFER_FLAG_SET
(
buf
,
GST_BUFFER_FLAG_DISCONT
);
element
->
need_discont
=
FALSE
;
}
if
(
gap
)
GST_BUFFER_FLAG_SET
(
buf
,
GST_BUFFER_FLAG_GAP
);
else
GST_BUFFER_FLAG_UNSET
(
buf
,
GST_BUFFER_FLAG_GAP
);
}
...
...
@@ -835,7 +831,7 @@ static GstFlowReturn transform(GstBaseTransform *trans, GstBuffer *inbuf, GstBuf
g_assert_not_reached
();
}
set_metadata
(
element
,
outbuf
,
outmap
.
size
/
element
->
unit_size_out
,
GST_BUFFER_FLAG_IS_SET
(
inbuf
,
GST_BUFFER_FLAG_GAP
)
);
set_metadata
(
element
,
outbuf
,
outmap
.
size
/
element
->
unit_size_out
);
gst_buffer_unmap
(
outbuf
,
&
outmap
);
gst_buffer_unmap
(
inbuf
,
&
inmap
);
...
...
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