Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
e9a8fbb4
Commit
e9a8fbb4
authored
Aug 10, 2021
by
Jean-Baptiste Mardelle
Browse files
Clip properties: add b frame info (yes or no)
parent
5adad7a7
Pipeline
#74179
passed with stage
in 9 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mltcontroller/clippropertiescontroller.cpp
View file @
e9a8fbb4
...
...
@@ -1342,6 +1342,9 @@ void ClipPropertiesController::fillProperties()
property
=
codecInfo
+
QStringLiteral
(
"colorspace"
);
int
colorspace
=
m_sourceProperties
.
get_int
(
property
.
toUtf8
().
constData
());
propertyMap
.
append
({
i18n
(
"Colorspace"
),
ProfileRepository
::
getColorspaceDescription
(
colorspace
)});
int
b_frames
=
m_sourceProperties
.
get_int
(
"meta.media.has_b_frames"
);
propertyMap
.
append
({
i18n
(
"B frames"
),
(
b_frames
==
1
?
i18n
(
"Yes"
)
:
i18n
(
"No"
))});
}
if
(
default_audio
>
-
1
)
{
propertyMap
.
append
({
i18n
(
"Audio streams"
),
QString
::
number
(
m_controller
->
audioStreamsCount
())});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment