Port to QStringLiteral operator

This commit is contained in:
Jonas Kvinge
2024-10-20 06:38:55 +02:00
parent 722035913e
commit ef9ef63f02
202 changed files with 2036 additions and 1889 deletions

View File

@@ -97,10 +97,10 @@ void MoodbarPipeline::Start() {
pipeline_ = gst_pipeline_new("moodbar-pipeline");
GstElement *decodebin = CreateElement(QStringLiteral("uridecodebin"));
convert_element_ = CreateElement(QStringLiteral("audioconvert"));
GstElement *spectrum = CreateElement(QStringLiteral("strawberry-fastspectrum"));
GstElement *fakesink = CreateElement(QStringLiteral("fakesink"));
GstElement *decodebin = CreateElement(u"uridecodebin"_s);
convert_element_ = CreateElement(u"audioconvert"_s);
GstElement *spectrum = CreateElement(u"strawberry-fastspectrum"_s);
GstElement *fakesink = CreateElement(u"fakesink"_s);
if (!decodebin || !convert_element_ || !spectrum || !fakesink) {
gst_object_unref(GST_OBJECT(pipeline_));