diff options
-rw-r--r-- | gst/liveadder/liveadder.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c index c2f236b9..12a82cb4 100644 --- a/gst/liveadder/liveadder.c +++ b/gst/liveadder/liveadder.c @@ -924,11 +924,7 @@ gst_live_live_adder_chain (GstPad *pad, GstBuffer *buffer) old_skip = GST_BUFFER_TIMESTAMP (buffer) + skip - GST_BUFFER_TIMESTAMP (oldbuffer); - if (GST_BUFFER_TIMESTAMP (buffer) + skip > - GST_BUFFER_TIMESTAMP (oldbuffer) + old_skip) - mix_start = GST_BUFFER_TIMESTAMP (buffer) + skip; - else - mix_start = GST_BUFFER_TIMESTAMP (oldbuffer) + old_skip; + mix_start = GST_BUFFER_TIMESTAMP (oldbuffer) + old_skip; if (GST_BUFFER_TIMESTAMP (buffer) + GST_BUFFER_DURATION (buffer) < GST_BUFFER_TIMESTAMP (oldbuffer) + GST_BUFFER_DURATION (oldbuffer)) |