mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
[MOVED FROM GST-P-FARSIGHT] Check that the format is NOT time
20080501203154-3e2dc-780e46b1f0fe76a66e2d79a2eb85d764ff5f182f.gz
This commit is contained in:
parent
095636bfd2
commit
e23efd9e81
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue