mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +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;
|
GstMessage *message;
|
||||||
|
|
||||||
if (dbin->async_pending) {
|
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);
|
parent_class->handle_message (GST_BIN_CAST (dbin), message);
|
||||||
|
|
||||||
dbin->async_pending = FALSE;
|
dbin->async_pending = FALSE;
|
||||||
|
|
|
@ -1266,7 +1266,9 @@ do_async_done (GstPlaySink * playsink)
|
||||||
|
|
||||||
if (playsink->async_pending) {
|
if (playsink->async_pending) {
|
||||||
GST_INFO_OBJECT (playsink, "Sending async_done message");
|
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
|
GST_BIN_CLASS (gst_play_sink_parent_class)->handle_message (GST_BIN_CAST
|
||||||
(playsink), message);
|
(playsink), message);
|
||||||
|
|
||||||
|
|
|
@ -101,8 +101,8 @@ static void
|
||||||
do_async_done (GstSubtitleOverlay * self)
|
do_async_done (GstSubtitleOverlay * self)
|
||||||
{
|
{
|
||||||
if (self->do_async) {
|
if (self->do_async) {
|
||||||
GstMessage *msg =
|
GstMessage *msg = gst_message_new_async_done (GST_OBJECT_CAST (self),
|
||||||
gst_message_new_async_done (GST_OBJECT_CAST (self), FALSE);
|
GST_CLOCK_TIME_NONE);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (self, "Posting async-done");
|
GST_DEBUG_OBJECT (self, "Posting async-done");
|
||||||
GST_BIN_CLASS (parent_class)->handle_message (GST_BIN_CAST (self), msg);
|
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) {
|
if (dbin->async_pending) {
|
||||||
GST_DEBUG_OBJECT (dbin, "posting ASYNC_DONE");
|
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);
|
GST_BIN_CLASS (parent_class)->handle_message (GST_BIN_CAST (dbin), message);
|
||||||
|
|
||||||
dbin->async_pending = FALSE;
|
dbin->async_pending = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue