Skip to content

Commit

Permalink
Merge pull request #1 from mariannasb/restart-ts-patch
Browse files Browse the repository at this point in the history
Fix restart-ts for multiple listeners
  • Loading branch information
mariannasb authored Aug 4, 2021
2 parents 308e04b + 3064a06 commit 2fdcbd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gst/interpipe/gstinterpipesrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ gst_inter_pipe_src_push_buffer (GstInterPipeIListener * iface,
GST_TIME_ARGS (GST_BUFFER_PTS (buffer)));
} else if (GST_INTER_PIPE_SRC_RESTART_TIMESTAMP == src->stream_sync) {
/* Remove the incoming timestamp to be generated according this basetime */
buffer = gst_buffer_make_writable (buffer);
GST_BUFFER_PTS (buffer) = GST_CLOCK_TIME_NONE;
GST_BUFFER_DTS (buffer) = GST_CLOCK_TIME_NONE;
}
Expand Down

0 comments on commit 2fdcbd8

Please sign in to comment.