summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2008-05-01 20:31:54 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-17 19:29:05 +0100
commite23efd9e812ef83aae3e2aea7cc9ced6a0a97336 (patch)
tree19247680c7337378924858a03a56bb9bedbc60ea /gst
parent095636bfd242a655cce44e811f5974fda2d72bf5 (diff)
downloadgst-plugins-bad-e23efd9e812ef83aae3e2aea7cc9ced6a0a97336.tar.gz
gst-plugins-bad-e23efd9e812ef83aae3e2aea7cc9ced6a0a97336.tar.bz2
gst-plugins-bad-e23efd9e812ef83aae3e2aea7cc9ced6a0a97336.zip
[MOVED FROM GST-P-FARSIGHT] Check that the format is NOT time
20080501203154-3e2dc-780e46b1f0fe76a66e2d79a2eb85d764ff5f182f.gz
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 */