diff --git a/README.html b/README.html index bdb578c..f52cd0c 100644 --- a/README.html +++ b/README.html @@ -1351,7 +1351,7 @@ an AppleTV6,2 with sourceVersion 380.20.1 (an AppleTV 4K 1st gen, introduced 2017, running tvOS 12.2.1), so it does not seem to matter what UxPlay claims to be.
1.65.1 2023-07-22 Add RPM spec file; add graceful exit if required +
1.65.2 2023-07-22 Add RPM spec file; add graceful exit if required gstreamer libav feature “avdec_aac” is missing: (this occurs in RPM-based distributions that ship an incomplete FFmpeg for Patent or License reasons, and rely on users installing an externally-supplied diff --git a/README.md b/README.md index 5a884ba..ef419a7 100644 --- a/README.md +++ b/README.md @@ -1080,7 +1080,7 @@ tvOS 12.2.1), so it does not seem to matter what UxPlay claims to be. # Changelog -1.65.1 2023-07-22 Add RPM spec file; add graceful exit if required gstreamer libav feature "avdec_aac" is +1.65.2 2023-07-22 Add RPM spec file; add graceful exit if required gstreamer libav feature "avdec_aac" is missing: (this occurs in RPM-based distributions that ship an incomplete FFmpeg for Patent or License reasons, and rely on users installing an externally-supplied complete FFmpeg). diff --git a/README.txt b/README.txt index 277b6c7..6298332 100644 --- a/README.txt +++ b/README.txt @@ -1386,7 +1386,7 @@ what UxPlay claims to be. # Changelog -1.65.1 2023-07-22 Add RPM spec file; add graceful exit if required +1.65.2 2023-07-22 Add RPM spec file; add graceful exit if required gstreamer libav feature "avdec_aac" is missing: (this occurs in RPM-based distributions that ship an incomplete FFmpeg for Patent or License reasons, and rely on users installing an externally-supplied diff --git a/renderers/audio_renderer_gstreamer.c b/renderers/audio_renderer_gstreamer.c index 014f338..2cdc6d4 100644 --- a/renderers/audio_renderer_gstreamer.c +++ b/renderers/audio_renderer_gstreamer.c @@ -78,16 +78,18 @@ static gboolean check_plugins (void) plugin = NULL; } if (ret == FALSE) { + g_print ("\nif the plugin is installed, but not found, try clearing your gstreamer cache with:\n" + "\"rm -rf ~/.cache/gstreamer-1.0\"\n\n"); return ret; } for (int i = 0; i < g_strv_length ((gchar **) needed_feature); i++) { GstPluginFeature *plugin_feature; plugin_feature = gst_registry_find_feature (registry, needed_feature[i], GST_TYPE_ELEMENT_FACTORY); if (!plugin_feature) { - g_print ("Required gstreamer libav plugin feature '%s' not found:\n" + g_print ("Required gstreamer libav plugin feature '%s' not found:\n\n" "This may be missing because the FFmpeg package used by GStreamer-1.x-libav is incomplete.\n" "(Some distributions provide an incomplete FFmpeg due to License or Patent issues:\n" - "in such cases a complete version for that distribution is usually made available elsewhere)\n\n", + "in such cases a complete version for that distribution is usually made available elsewhere)\n", needed_feature[i]); ret = FALSE; continue; @@ -95,6 +97,10 @@ static gboolean check_plugins (void) gst_object_unref (plugin_feature); plugin_feature = NULL; } + if (ret == FALSE) { + g_print ("\nif the plugin feature is installed, but not found, try clearing your gstreamer cache with:\n" + "\"rm -rf ~/.cache/gstreamer-1.0\"\n\n"); + } return ret; } diff --git a/uxplay.spec b/uxplay.spec index 634671d..c9335ef 100644 --- a/uxplay.spec +++ b/uxplay.spec @@ -1,5 +1,5 @@ Name: uxplay -Version: 1.65.1 +Version: 1.65.2 Release: 1%{?dist} %define gittag v%{version}