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:
Victor Gottardi 2012-12-06 11:55:45 -05:00 committed by Tim-Philipp Müller
parent e6f5c5674c
commit 21477d37e2

View file

@ -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