Skip to content

Commit

Permalink
fix loading service metadata for glaxnimate-qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Aug 20, 2023
1 parent aab521c commit de5ddf6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/modules/glaxnimate/producer_glaxnimate.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* producer_glaxnimate.cpp -- a Glaxnimate/Qt based producer for MLT
* Copyright (C) 2022 Meltytech, LLC
* Copyright (C) 2022-2023 Meltytech, LLC
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -256,7 +256,11 @@ static mlt_properties metadata(mlt_service_type type, const char *id, void *data
}
snprintf(file,
PATH_MAX,
#if QT_VERSION_MAJOR < 6
"%s/glaxnimate/%s_%s.yml",
#else
"%s/glaxnimate-qt6/%s_%s.yml",
#endif
mlt_environment("MLT_DATA"),
service_type,
id);
Expand Down

0 comments on commit de5ddf6

Please sign in to comment.