Skip to content

Commit b42e4f4

Browse files
JDarnleycmassiot
authored andcommitted
upipe-modules: make all pipes throw ready and dead events
1 parent 4f2aa2d commit b42e4f4

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

lib/upipe-modules/upipe_row_join.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ static int upipe_row_join_control(struct upipe *upipe, int command,
153153

154154
static void upipe_row_join_free(struct upipe *upipe)
155155
{
156+
upipe_throw_dead(upipe);
156157
upipe_row_join_clean_ubuf_mgr(upipe);
157158
upipe_row_join_clean_urefcount(upipe);
158159
upipe_row_join_clean_output(upipe);
@@ -178,6 +179,7 @@ static struct upipe *upipe_row_join_alloc(struct upipe_mgr *mgr,
178179
upipe_row_join_init_ubuf_mgr(upipe);
179180
upipe_row_join_init_urefcount(upipe);
180181

182+
upipe_throw_ready(upipe);
181183
return upipe;
182184
}
183185

lib/upipe-modules/upipe_rtp_pcm_pack.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ static struct upipe *upipe_rtp_pcm_pack_alloc(struct upipe_mgr *mgr,
295295
upipe_rtp_pcm_pack->output_time = 0;
296296
upipe_rtp_pcm_pack->output_samples = 0;
297297

298+
upipe_throw_ready(upipe);
298299
return upipe;
299300
}
300301

lib/upipe-modules/upipe_separate_fields.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ static int upipe_separate_fields_control(struct upipe *upipe, int command,
131131

132132
static void upipe_separate_fields_free(struct upipe *upipe)
133133
{
134+
upipe_throw_dead(upipe);
134135
upipe_separate_fields_clean_urefcount(upipe);
135136
upipe_separate_fields_clean_output(upipe);
136137
upipe_separate_fields_free_void(upipe);
@@ -148,6 +149,7 @@ static struct upipe *upipe_separate_fields_alloc(struct upipe_mgr *mgr,
148149

149150
upipe_separate_fields_init_urefcount(upipe);
150151
upipe_separate_fields_init_output(upipe);
152+
upipe_throw_ready(upipe);
151153

152154
return upipe;
153155
}

0 commit comments

Comments
 (0)