diff options
author | Arun Raghavan <arun@arunraghavan.net> | 2021-09-10 09:20:31 +0300 |
---|---|---|
committer | Sebastian Dröge <slomo@coaxion.net> | 2021-09-10 09:20:31 +0300 |
commit | bb3949aeda13dd3205db0c342063197e122f2007 (patch) | |
tree | ea937b9bcb90ba37f181bf1d9069ab76ef152db2 /video/ffv1/src/lib.rs | |
parent | 426dc4c54d0ea96bde60e9278b3c52ebcd51be21 (diff) |
video: Add a new ffv1 decoder plugin
Diffstat (limited to 'video/ffv1/src/lib.rs')
-rw-r--r-- | video/ffv1/src/lib.rs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/video/ffv1/src/lib.rs b/video/ffv1/src/lib.rs new file mode 100644 index 00000000..1e9190bf --- /dev/null +++ b/video/ffv1/src/lib.rs @@ -0,0 +1,25 @@ +// Copyright (C) 2019 Arun Raghavan <arun@asymptotic.io> +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +mod ffv1dec; + +fn plugin_init(plugin: &gst::Plugin) -> Result<(), gst::glib::BoolError> { + ffv1dec::register(plugin) +} + +gst::plugin_define!( + ffv1, + env!("CARGO_PKG_DESCRIPTION"), + plugin_init, + concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")), + "MIT/X11", + env!("CARGO_PKG_NAME"), + env!("CARGO_PKG_NAME"), + env!("CARGO_PKG_REPOSITORY"), + env!("BUILD_REL_DATE") +); |