mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
timeline: Drop ASYNC_/START/DONE messages
When we have nested timelines, we do not want those messages to pop to the parent timelines as we handle the sequence ourself in the timeline.
This commit is contained in:
parent
6d895ea111
commit
eb53e62c6d
1 changed files with 11 additions and 0 deletions
|
@ -326,6 +326,17 @@ ges_timeline_handle_message (GstBin * bin, GstMessage * message)
|
|||
{
|
||||
GESTimeline *timeline = GES_TIMELINE (bin);
|
||||
|
||||
if (GST_MESSAGE_TYPE (message) == GST_MESSAGE_ASYNC_START) {
|
||||
GST_INFO_OBJECT (timeline, "Dropping %" GST_PTR_FORMAT, message);
|
||||
return;
|
||||
}
|
||||
|
||||
if (GST_MESSAGE_TYPE (message) == GST_MESSAGE_ASYNC_DONE) {
|
||||
GST_INFO_OBJECT (timeline, "Dropping %" GST_PTR_FORMAT, message);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (GST_MESSAGE_TYPE (message) == GST_MESSAGE_ELEMENT) {
|
||||
GstMessage *amessage = NULL;
|
||||
const GstStructure *mstructure = gst_message_get_structure (message);
|
||||
|
|
Loading…
Reference in a new issue