Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
429
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
6d90eba0
Commit
6d90eba0
authored
1 year ago
by
Pierre Lamot
Committed by
Steve Lhomme
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
demux: adaptive: fix language parsing
parent
38d17118
No related branches found
No related tags found
Loading
Pipeline
#323062
passed with stages
in 37 minutes and 8 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/demux/adaptive/playlist/BaseAdaptationSet.cpp
+1
-1
1 addition, 1 deletion
modules/demux/adaptive/playlist/BaseAdaptationSet.cpp
with
1 addition
and
1 deletion
modules/demux/adaptive/playlist/BaseAdaptationSet.cpp
+
1
−
1
View file @
6d90eba0
...
...
@@ -93,7 +93,7 @@ const std::string & BaseAdaptationSet::getLang() const
void
BaseAdaptationSet
::
setLang
(
const
std
::
string
&
lang_
)
{
std
::
size_t
pos
=
lang
.
find_first_of
(
'-'
);
std
::
size_t
pos
=
lang
_
.
find_first_of
(
'-'
);
if
(
pos
!=
std
::
string
::
npos
&&
pos
>
0
)
lang
=
lang_
.
substr
(
0
,
pos
);
else
if
(
lang_
.
size
()
<
4
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment