Merge branch 'master' into 0.11
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 3 Oct 2011 08:11:19 +0000 (10:11 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 3 Oct 2011 08:11:19 +0000 (10:11 +0200)
Conflicts:
ext/pango/gsttextoverlay.c
gst/encoding/gstencodebin.c

1  2 
gst/encoding/gstencodebin.c

@@@ -1062,8 -1066,9 +1062,8 @@@ _create_stream_group (GstEncodeBin * eb
     * If we have no muxer or
     * if the muxer isn't a formatter and doesn't implement the tagsetter interface
     */
 -  if (!ebin->muxer
 -      || (!gst_element_implements_interface (ebin->muxer, GST_TYPE_TAG_SETTER)
 +  if (!ebin->muxer || (!GST_IS_TAG_SETTER (ebin->muxer)
-           || !_has_class (ebin->muxer, "Formatter"))) {
+           && !_has_class (ebin->muxer, "Formatter"))) {
      sgroup->formatter = _get_formatter (ebin, sprof);
      if (sgroup->formatter) {
        GST_DEBUG ("Adding formatter for %" GST_PTR_FORMAT, format);