Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gstlal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Duncan Macleod
gstlal
Commits
3c609802
Commit
3c609802
authored
10 years ago
by
Chris Pankow
Browse files
Options
Downloads
Patches
Plain Diff
audioratefaker.c: Remove debug print statements
parent
7b3e3641
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal-ugly/gst/lal/audioratefaker.c
+0
-3
0 additions, 3 deletions
gstlal-ugly/gst/lal/audioratefaker.c
with
0 additions
and
3 deletions
gstlal-ugly/gst/lal/audioratefaker.c
+
0
−
3
View file @
3c609802
...
...
@@ -75,7 +75,6 @@ static gboolean do_new_segment(GstAudioRateFaker *element)
{
gboolean
success
=
TRUE
;
fprintf
(
stderr
,
"do_new_segment called
\n
"
);
if
(
element
->
last_segment
)
{
GstSegment
*
segment
;
...
...
@@ -102,7 +101,6 @@ static gboolean do_new_segment(GstAudioRateFaker *element)
success = gst_pad_push_event(GST_BASE_TRANSFORM_SRC_PAD(element), gst_event_new_segment(segment));
*/
if
(
format
==
GST_FORMAT_TIME
)
{
fprintf
(
stderr
,
"updating last segment
\n
"
);
if
(
GST_CLOCK_TIME_IS_VALID
(
start
))
start
=
gst_util_uint64_scale_int_round
(
start
,
element
->
inrate_over_outrate_num
,
element
->
inrate_over_outrate_den
);
if
(
GST_CLOCK_TIME_IS_VALID
(
stop
))
...
...
@@ -112,7 +110,6 @@ static gboolean do_new_segment(GstAudioRateFaker *element)
success
=
gst_pad_push_event
(
GST_BASE_TRANSFORM_SRC_PAD
(
element
),
gst_event_new_new_segment
(
update
,
rate
,
format
,
start
,
stop
,
position
));
}
else
{
fprintf
(
stderr
,
"using last segment
\n
"
);
gst_event_ref
(
element
->
last_segment
);
success
=
gst_pad_push_event
(
GST_BASE_TRANSFORM_SRC_PAD
(
element
),
element
->
last_segment
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment