mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
codecanalyzer: fix codec detection with git master
The names might be 'MPEG-2 (Simple Profile)' now. Shouldn't really rely on codec name strings here in the first place, but use caps instead.
This commit is contained in:
parent
3b6f187d85
commit
74660cb861
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ find_codec_info (gchar * name)
|
||||||
{
|
{
|
||||||
guint i;
|
guint i;
|
||||||
for (i = 0; i < G_N_ELEMENTS (codecs_info); ++i) {
|
for (i = 0; i < G_N_ELEMENTS (codecs_info); ++i) {
|
||||||
if (!strcmp (name, codecs_info[i].discoverer_codec_name))
|
if (g_str_has_prefix (name, codecs_info[i].discoverer_codec_name))
|
||||||
return &codecs_info[i];
|
return &codecs_info[i];
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue