mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
update for message api change
This commit is contained in:
parent
2fbb803d85
commit
655fef3dbf
4 changed files with 11 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue