From: Thiago Santos Date: Fri, 30 Sep 2011 12:44:12 +0000 (-0300) Subject: encodebin: Fix typo on formatter adding condition X-Git-Tag: 1.19.3~511^2~6555^2~432 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2237750892f5d69b76430173393b19a89d4d33b;p=platform%2Fupstream%2Fgstreamer.git encodebin: Fix typo on formatter adding condition The condition is if the muxer doesn't have tag setter *and* isn't a formatter itself. Any of those two conditions makes the muxer good enough to not need a formatter. --- diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c index 740c9c9..3ce67ff 100644 --- a/gst/encoding/gstencodebin.c +++ b/gst/encoding/gstencodebin.c @@ -1068,7 +1068,7 @@ _create_stream_group (GstEncodeBin * ebin, GstEncodingProfile * sprof, */ if (!ebin->muxer || (!gst_element_implements_interface (ebin->muxer, GST_TYPE_TAG_SETTER) - || !_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);