mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
9e50fa303e
Original commit message from CVS: * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times), (gst_base_sink_do_sync), (gst_base_sink_preroll_object), (gst_base_sink_event), (gst_base_sink_get_position_last), (gst_base_sink_get_position_paused), (gst_base_sink_get_position), (gst_base_sink_change_state): Don't try to report a 0 position when we don't know, return -1 and FALSE instead. This mostly happens when we are prerolling. Make sure we can report the right position before we post the ASYNC_DONE message so that a message handler can query position without races. * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST), (async_done_handoff), (async_done_func), (send_buffer), (async_done_eos_func), (gst_sinks_suite): Add two tests for the above. |
||
---|---|---|
.. | ||
.gitignore | ||
gstadapter.c | ||
gstadapter.h | ||
gstbasesink.c | ||
gstbasesink.h | ||
gstbasesrc.c | ||
gstbasesrc.h | ||
gstbasetransform.c | ||
gstbasetransform.h | ||
gstcollectpads.c | ||
gstcollectpads.h | ||
gstdataqueue.c | ||
gstdataqueue.h | ||
gstpushsrc.c | ||
gstpushsrc.h | ||
gsttypefindhelper.c | ||
gsttypefindhelper.h | ||
Makefile.am | ||
README |
Base classes ------------ GstBaseSink FIXME: not much point making it operate in pull mode as a generic base class I guess...