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
Libraries
Phonon VLC
Commits
b863d433
Commit
b863d433
authored
Apr 19, 2011
by
Harald Sitter
🏳️🌈
Browse files
change backend to use new subtitle overlord class
parent
12a40d54
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlc/backend.cpp
View file @
b863d433
...
...
@@ -293,6 +293,10 @@ QList<int> Backend::objectDescriptionIndexes(ObjectDescriptionType type) const
}
}
break
;
case
Phonon
::
SubtitleType
:
{
list
<<
GlobalSubtitles
::
instance
()
->
globalIndexes
();
}
break
;
}
return
list
;
...
...
@@ -352,6 +356,13 @@ QHash<QByteArray, QVariant> Backend::objectDescriptionProperties(ObjectDescripti
}
}
break
;
case
Phonon
::
SubtitleType
:
{
const
SubtitleDescription
description
=
GlobalSubtitles
::
instance
()
->
fromIndex
(
index
);
ret
.
insert
(
"name"
,
description
.
name
());
ret
.
insert
(
"description"
,
description
.
description
());
ret
.
insert
(
"type"
,
description
.
property
(
"type"
));
}
break
;
}
return
ret
;
...
...
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