mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
smartencoder: fix detection of avc1
While avc1 is the FourCC, avc is the name used in caps Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1549>
This commit is contained in:
parent
6bcfce7501
commit
efb18ec300
1 changed files with 1 additions and 1 deletions
|
@ -793,7 +793,7 @@ gst_smart_encoder_add_parser (GstSmartEncoder * self, GstCaps * format)
|
|||
}
|
||||
|
||||
stream_format = gst_structure_get_string (structure, "stream-format");
|
||||
if (g_strcmp0 (stream_format, "avc1"))
|
||||
if (g_strcmp0 (stream_format, "avc"))
|
||||
g_object_set (parser, "config-interval", -1, NULL);
|
||||
|
||||
} else if (gst_structure_has_name (gst_caps_get_structure (format, 0),
|
||||
|
|
Loading…
Reference in a new issue