mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
hlssink: don't forward multifilesink messages to application
These messages are usually only needed internally. https://bugzilla.gnome.org/show_bug.cgi?id=689822
This commit is contained in:
parent
e6f5c5674c
commit
21477d37e2
1 changed files with 8 additions and 1 deletions
|
@ -293,13 +293,20 @@ gst_hls_sink_handle_message (GstBin * bin, GstMessage * message)
|
|||
*/
|
||||
sink->waiting_fku = FALSE;
|
||||
schedule_next_key_unit (sink);
|
||||
|
||||
/* multifilesink is an internal implementation detail. If applications
|
||||
* need a notification, we should probably do our own message */
|
||||
GST_DEBUG_OBJECT (bin, "dropping message %" GST_PTR_FORMAT, message);
|
||||
gst_message_unref (message);
|
||||
message = NULL;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
GST_BIN_CLASS (parent_class)->handle_message (bin, message);
|
||||
if (message)
|
||||
GST_BIN_CLASS (parent_class)->handle_message (bin, message);
|
||||
}
|
||||
|
||||
static GstStateChangeReturn
|
||||
|
|
Loading…
Reference in a new issue