Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vlc-rs
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
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-rs
Merge requests
!9
media: Add add_option() method
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
media: Add add_option() method
rofferom/vlc-rs:bind-add-option
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Merged
Romain Roffé
requested to merge
rofferom/vlc-rs:bind-add-option
into
master
3 years ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
Just bind
libvlc_media_add_option()
into public API.
1
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
6133d47c
1 commit,
3 years ago
1 file
+
6
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/media.rs
+
6
−
0
Options
@@ -85,6 +85,12 @@ impl Media {
}
}
pub
fn
add_option
(
&
self
,
value
:
&
str
)
{
unsafe
{
sys
::
libvlc_media_add_option
(
self
.ptr
,
to_cstr
(
value
)
.as_ptr
());
}
}
/// Set the meta of the media.
/// (This function will not save the meta, call save_meta in order to save the meta)
pub
fn
set_meta
(
&
self
,
meta
:
Meta
,
value
:
&
str
)
{
Loading