summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/liveadder/liveadder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c
index 4bb30b50..6f9d9cd2 100644
--- a/gst/liveadder/liveadder.c
+++ b/gst/liveadder/liveadder.c
@@ -815,7 +815,7 @@ gst_live_live_adder_chain (GstPad *pad, GstBuffer *buffer)
FALSE, 1.0, GST_FORMAT_TIME, 0, -1, 0);
}
- if (padprivate->segment.format == GST_FORMAT_TIME)
+ if (padprivate->segment.format != GST_FORMAT_TIME)
goto invalid_segment;
/* Just see if we receive invalid timestamp/durations */