Check validity of end time based on end time variable, not start time.

Original commit message from CVS:
Check validity of end time based on end time variable, not start time.
This commit is contained in:
Michael Smith 2005-10-17 17:46:37 +00:00
parent e0a1560111
commit 2992b384a6
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-10-17 Michael Smith <msmith@fluendo.com>
* gst/base/gstbasesink.c: (gst_base_sink_do_sync):
Check if end time is valid using end time, not start time.
2005-10-17 Stefan Kost <ensonic@users.sf.net>
* check/gst-libs/controller.c: (GST_START_TEST),

View file

@ -988,7 +988,7 @@ gst_base_sink_do_sync (GstBaseSink * basesink, GstBuffer * buffer)
bclass->get_times (basesink, buffer, &start, &end);
start_valid = GST_CLOCK_TIME_IS_VALID (start);
end_valid = GST_CLOCK_TIME_IS_VALID (start);
end_valid = GST_CLOCK_TIME_IS_VALID (end);
GST_DEBUG_OBJECT (basesink, "got times start: %" GST_TIME_FORMAT
", end: %" GST_TIME_FORMAT, GST_TIME_ARGS (start), GST_TIME_ARGS (end));

View file

@ -988,7 +988,7 @@ gst_base_sink_do_sync (GstBaseSink * basesink, GstBuffer * buffer)
bclass->get_times (basesink, buffer, &start, &end);
start_valid = GST_CLOCK_TIME_IS_VALID (start);
end_valid = GST_CLOCK_TIME_IS_VALID (start);
end_valid = GST_CLOCK_TIME_IS_VALID (end);
GST_DEBUG_OBJECT (basesink, "got times start: %" GST_TIME_FORMAT
", end: %" GST_TIME_FORMAT, GST_TIME_ARGS (start), GST_TIME_ARGS (end));