summaryrefslogtreecommitdiff
path: root/src/til_stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/til_stream.c')
-rw-r--r--src/til_stream.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/til_stream.c b/src/til_stream.c
index eec0af4..3c0a4f5 100644
--- a/src/til_stream.c
+++ b/src/til_stream.c
@@ -516,11 +516,13 @@ void til_stream_pipe_set_owner(til_stream_pipe_t *pipe, const void *owner, const
/* NULLing out the driving_tap isn't supported, since the tap name is part of the pipe's identity,
* just set tap.inactive to indicate another tap should take over driving.
*/
-void til_stream_pipe_set_driving_tap(til_stream_pipe_t *pipe, const til_tap_t *driving_tap)
+void til_stream_pipe_set_driving_tap(til_stream_t *stream, til_stream_pipe_t *pipe, const til_tap_t *driving_tap)
{
+ assert(stream);
assert(pipe);
assert(driving_tap);
+ pipe->frame = stream->frame;
pipe->driving_tap = driving_tap;
}
© All Rights Reserved