update for message api change

This commit is contained in:
Wim Taymans 2012-06-13 11:04:21 +02:00
parent 2fbb803d85
commit 655fef3dbf
4 changed files with 11 additions and 5 deletions

View file

@ -4050,7 +4050,9 @@ do_async_done (GstDecodeBin * dbin)
GstMessage *message;
if (dbin->async_pending) {
message = gst_message_new_async_done (GST_OBJECT_CAST (dbin), FALSE);
message =
gst_message_new_async_done (GST_OBJECT_CAST (dbin),
GST_CLOCK_TIME_NONE);
parent_class->handle_message (GST_BIN_CAST (dbin), message);
dbin->async_pending = FALSE;

View file

@ -1266,7 +1266,9 @@ do_async_done (GstPlaySink * playsink)
if (playsink->async_pending) {
GST_INFO_OBJECT (playsink, "Sending async_done message");
message = gst_message_new_async_done (GST_OBJECT_CAST (playsink), FALSE);
message =
gst_message_new_async_done (GST_OBJECT_CAST (playsink),
GST_CLOCK_TIME_NONE);
GST_BIN_CLASS (gst_play_sink_parent_class)->handle_message (GST_BIN_CAST
(playsink), message);

View file

@ -101,8 +101,8 @@ static void
do_async_done (GstSubtitleOverlay * self)
{
if (self->do_async) {
GstMessage *msg =
gst_message_new_async_done (GST_OBJECT_CAST (self), FALSE);
GstMessage *msg = gst_message_new_async_done (GST_OBJECT_CAST (self),
GST_CLOCK_TIME_NONE);
GST_DEBUG_OBJECT (self, "Posting async-done");
GST_BIN_CLASS (parent_class)->handle_message (GST_BIN_CAST (self), msg);

View file

@ -858,7 +858,9 @@ do_async_done (GstURIDecodeBin * dbin)
if (dbin->async_pending) {
GST_DEBUG_OBJECT (dbin, "posting ASYNC_DONE");
message = gst_message_new_async_done (GST_OBJECT_CAST (dbin), FALSE);
message =
gst_message_new_async_done (GST_OBJECT_CAST (dbin),
GST_CLOCK_TIME_NONE);
GST_BIN_CLASS (parent_class)->handle_message (GST_BIN_CAST (dbin), message);
dbin->async_pending = FALSE;