summaryrefslogtreecommitdiff
path: root/gst/hls
diff options
context:
space:
mode:
authorVictor Gottardi <vgottardi@hotmail.com>2012-12-06 11:55:45 -0500
committerTim-Philipp Müller <tim@centricular.net>2013-01-06 22:53:11 +0000
commit21477d37e29477dbc63902f4277ab76014447d5a (patch)
tree8ea192ddbe5edc34daad93a201fd345520354ec8 /gst/hls
parente6f5c5674c5f934e8d445b395dc7414c71634b12 (diff)
downloadgstreamer-plugins-bad-21477d37e29477dbc63902f4277ab76014447d5a.tar.gz
hlssink: don't forward multifilesink messages to application
These messages are usually only needed internally. https://bugzilla.gnome.org/show_bug.cgi?id=689822
Diffstat (limited to 'gst/hls')
-rw-r--r--gst/hls/gsthlssink.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gst/hls/gsthlssink.c b/gst/hls/gsthlssink.c
index dcda338cd..733152b94 100644
--- a/gst/hls/gsthlssink.c
+++ b/gst/hls/gsthlssink.c
@@ -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