Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
George Kiagiadakis
gst-plugins-base
Commits
2b32faad
Commit
2b32faad
authored
May 27, 2011
by
Stefan Kost
Browse files
code-utile: fix level descriptions for fgs
fgs levels range from 8-13 and are mapped to 0-5.
parent
d35d7561
Changes
1
Hide whitespace changes
Inline
Side-by-side
gst-libs/gst/pbutils/codec-utils.c
View file @
2b32faad
...
...
@@ -718,6 +718,9 @@ gst_codec_utils_mpeg4video_get_level (const guint8 * vis_obj_seq, guint len)
else
if
(
profile_id
==
0
&&
level_id
==
9
)
/* Simple Profile / Level 0b */
return
"0b"
;
else
if
(
profile_id
==
0xf
&&
level_id
>
7
)
/* Fine Granularity Scalable Profile */
return
digit_to_string
(
level_id
-
8
);
else
if
(
level_id
<=
level_max
[
profile_id
])
/* Levels for all other cases */
return
digit_to_string
(
level_id
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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