diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2023-09-02 17:45:27 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2023-09-02 17:46:15 +0200 |
commit | fead60e32f35ca21262769174a23f6b4735bf28e (patch) | |
tree | 758240f38087718bdda1423eebdb8ed224e85b9c /nihav-game/src/codecs/mod.rs | |
parent | bc22bba650c0ad4cd84d748468539b5dae982dc5 (diff) | |
download | nihav-fead60e32f35ca21262769174a23f6b4735bf28e.tar.gz |
add (limited) support for Digital Pictures SGA format
Diffstat (limited to 'nihav-game/src/codecs/mod.rs')
-rw-r--r-- | nihav-game/src/codecs/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nihav-game/src/codecs/mod.rs b/nihav-game/src/codecs/mod.rs index 14c6c87..c8d1a38 100644 --- a/nihav-game/src/codecs/mod.rs +++ b/nihav-game/src/codecs/mod.rs @@ -36,6 +36,8 @@ pub mod midivid; pub mod midivid3; #[cfg(feature="decoder_q")] pub mod q; +#[cfg(feature="decoder_sga")] +pub mod sga; #[cfg(any(feature="decoder_smush_video", feature="decoder_smush_audio"))] pub mod smush; #[cfg(feature="decoder_vmd")] @@ -78,6 +80,8 @@ const GAME_CODECS: &[DecoderInfo] = &[ DecoderInfo { name: "ipma2", get_decoder: ipma::get_decoder_v2 }, #[cfg(feature="decoder_q")] DecoderInfo { name: "legend-q-video", get_decoder: q::get_decoder }, +#[cfg(feature="decoder_sga")] + DecoderInfo { name: "dp-sga", get_decoder: sga::get_decoder }, #[cfg(feature="decoder_smush_video")] DecoderInfo { name: "smushv1", get_decoder: smush::get_decoder_video_v1 }, #[cfg(feature="decoder_smush_video")] |