projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GIF support
[nihav.git]
/
nihav-commonfmt
/
src
/
demuxers
/
mod.rs
diff --git
a/nihav-commonfmt/src/demuxers/mod.rs
b/nihav-commonfmt/src/demuxers/mod.rs
index 32fe113cd4e07097cd08bb028048df79ae05bc2d..42d1f11cfc0fe50ab14103e0aa27bffbd048eec6 100644
(file)
--- a/
nihav-commonfmt/src/demuxers/mod.rs
+++ b/
nihav-commonfmt/src/demuxers/mod.rs
@@
-14,6
+14,8
@@
macro_rules! validate {
#[cfg(feature="demuxer_avi")]
#[allow(clippy::cast_lossless)]
mod avi;
#[cfg(feature="demuxer_avi")]
#[allow(clippy::cast_lossless)]
mod avi;
+#[cfg(feature="demuxer_gif")]
+mod gif;
#[cfg(feature="demuxer_mov")]
#[allow(clippy::cast_lossless)]
mod mov;
#[cfg(feature="demuxer_mov")]
#[allow(clippy::cast_lossless)]
mod mov;
@@
-25,6
+27,8
@@
mod y4m;
const DEMUXERS: &[&dyn DemuxerCreator] = &[
#[cfg(feature="demuxer_avi")]
&avi::AVIDemuxerCreator {},
const DEMUXERS: &[&dyn DemuxerCreator] = &[
#[cfg(feature="demuxer_avi")]
&avi::AVIDemuxerCreator {},
+#[cfg(feature="demuxer_gif")]
+ &gif::GIFDemuxerCreator {},
#[cfg(feature="demuxer_mov")]
&mov::MOVDemuxerCreator {},
#[cfg(feature="demuxer_mov")]
#[cfg(feature="demuxer_mov")]
&mov::MOVDemuxerCreator {},
#[cfg(feature="demuxer_mov")]