mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
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.
This commit is contained in:
parent
8633eb391d
commit
a223775089
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue