summaryrefslogtreecommitdiffstats
path: root/src/gsttools/qgstcodecsinfo.cpp
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2019-12-13 14:52:14 +0100
committerRolf Eike Beer <eb@emlix.com>2020-01-06 09:28:08 +0100
commit2030c8827971973514b2b65479cffc473f2b34c4 (patch)
treee1af859c9c462d687f0c255b21bc87538a016cb5 /src/gsttools/qgstcodecsinfo.cpp
parent06ab7039e7043b24e18184cd510af07bd2a646d5 (diff)
gsttools: use nullptr instead of NULL
Change-Id: I3b9b75b9f55bbb13bd5751a49b072102af675c4f Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'src/gsttools/qgstcodecsinfo.cpp')
-rw-r--r--src/gsttools/qgstcodecsinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsttools/qgstcodecsinfo.cpp b/src/gsttools/qgstcodecsinfo.cpp
index c6e61f824..2522ee19c 100644
--- a/src/gsttools/qgstcodecsinfo.cpp
+++ b/src/gsttools/qgstcodecsinfo.cpp
@@ -99,7 +99,7 @@ QStringList QGstCodecsInfo::codecOptions(const QString &codec) const
if (elementName.isEmpty())
return options;
- GstElement *element = gst_element_factory_make(elementName, NULL);
+ GstElement *element = gst_element_factory_make(elementName, nullptr);
if (element) {
guint numProperties;
GParamSpec **properties = g_object_class_list_properties(G_OBJECT_GET_CLASS(element),
@@ -174,7 +174,7 @@ void QGstCodecsInfo::updateCodecs(ElementType elementType)
}
}
- GstCaps *newCaps = gst_caps_new_full(newStructure, NULL);
+ GstCaps *newCaps = gst_caps_new_full(newStructure, nullptr);
gchar *capsString = gst_caps_to_string(newCaps);
QString codec = QLatin1String(capsString);