diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-06-13 10:52:48 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-06-14 09:04:33 +0200 |
commit | 7b6ebd4b5bb0cb5460972c6b7ca860eaf1b13d24 (patch) | |
tree | b0dac376b850ff895b185c95e51a4b3c20f2d4cb /libs/gst/base/gstbasesink.c | |
parent | 9c8ee44f9bcbe039a133a7a2adc76ccf4652239a (diff) |
message: add the running-time to the async-done messagereset-time
Add the running-time of the buffer that caused the async operation to complete
to the async-done message.
Update bin to handle the new async-done message.
Diffstat (limited to 'libs/gst/base/gstbasesink.c')
-rw-r--r-- | libs/gst/base/gstbasesink.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/gst/base/gstbasesink.c b/libs/gst/base/gstbasesink.c index 7ddadb955..aa571291a 100644 --- a/libs/gst/base/gstbasesink.c +++ b/libs/gst/base/gstbasesink.c @@ -1465,7 +1465,8 @@ gst_base_sink_commit_state (GstBaseSink * basesink) if (post_async_done) { GST_DEBUG_OBJECT (basesink, "posting async-done message"); gst_element_post_message (GST_ELEMENT_CAST (basesink), - gst_message_new_async_done (GST_OBJECT_CAST (basesink), FALSE)); + gst_message_new_async_done (GST_OBJECT_CAST (basesink), + GST_CLOCK_TIME_NONE)); } if (post_playing) { GST_DEBUG_OBJECT (basesink, "posting PLAYING state change message"); @@ -4804,7 +4805,8 @@ gst_base_sink_change_state (GstElement * element, GstStateChange transition) GST_STATE_PLAYING, GST_STATE_PAUSED, GST_STATE_READY)); gst_element_post_message (GST_ELEMENT_CAST (basesink), - gst_message_new_async_done (GST_OBJECT_CAST (basesink), FALSE)); + gst_message_new_async_done (GST_OBJECT_CAST (basesink), + GST_CLOCK_TIME_NONE)); } priv->commited = TRUE; } else { |