[gst-cvs] wtay gstreamer: gstreamer/ gstreamer/libs/gst/base/ gstreamer/tests/check/elements/ gstreamer/tests/check/generic/

wtay at kemper.freedesktop.org wtay at kemper.freedesktop.org
Tue Aug 19 09:47:23 PDT 2008


CVS Root:       /cvs/gstreamer
Module:         gstreamer
Changes by:     wtay
Date:           Tue Aug 19 2008  16:47:23 UTC

Log message:
* libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
(gst_base_sink_event), (gst_base_sink_chain_unlocked),
(gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
(gst_base_sink_get_position), (gst_base_sink_change_state):
Improve position reporting in the flushing state.
Also report the position when we are not yet prerolled but we
have a newsegment event. Fixes #543444.
Improve the pull-based negotiation code.
* tests/check/elements/fakesink.c: (GST_START_TEST),
(fakesink_suite):
Add testcase for position reporting while flushing in PAUSED and
PLAYING.
* tests/check/generic/sinks.c: (GST_START_TEST):
Update unit-test, we can now query the position as soon as we receive a
NEWSEGMENT event.

Modified files:
    .               : ChangeLog
    libs/gst/base   : gstbasesink.c
    tests/check/elements: fakesink.c
    tests/check/generic: sinks.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.4030&r2=1.4031
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/libs/gst/base/gstbasesink.c.diff?r1=1.213&r2=1.214
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/elements/fakesink.c.diff?r1=1.8&r2=1.9
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/generic/sinks.c.diff?r1=1.29&r2=1.30




More information about the Gstreamer-commits mailing list