diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2017-05-20 15:41:34 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2017-05-20 15:41:34 +0200 |
commit | e5e85f326e9edbfdecb8e93a21834984ae201380 (patch) | |
tree | eeb3c7f1bf4053925ed9a6aba6b3d2f5d83e152c /src | |
parent | 48c88fde06894a7692eb6350cbef12aa85d923f1 (diff) | |
download | nihav-e5e85f326e9edbfdecb8e93a21834984ae201380.tar.gz |
use clearer names for GDV codecs
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/gdv.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/gdv.rs b/src/demuxers/gdv.rs index 897550f..9cd62ec 100644 --- a/src/demuxers/gdv.rs +++ b/src/demuxers/gdv.rs @@ -43,13 +43,13 @@ impl<'a> Demux<'a> for GremlinVideoDemuxer<'a> { if max_fs > 0 { let vhdr = NAVideoInfo::new(width as usize, height as usize, false, PAL8_FORMAT); let vci = NACodecTypeInfo::Video(vhdr); - let vinfo = NACodecInfo::new("video-gdv", vci, None); + let vinfo = NACodecInfo::new("gdv-video", vci, None); self.v_id = self.dmx.add_stream(NAStream::new(StreamType::Video, 0, vinfo)); } if (aflags & 1) != 0 { let channels = if (aflags & 2) != 0 { 2 } else { 1 }; let ahdr = NAAudioInfo::new(rate as u32, channels as u8, if (aflags & 4) != 0 { SND_S16_FORMAT } else { SND_U8_FORMAT }, 2); - let ainfo = NACodecInfo::new("audio-gdv", NACodecTypeInfo::Audio(ahdr), None); + let ainfo = NACodecInfo::new("gdv-audio", NACodecTypeInfo::Audio(ahdr), None); self.a_id = self.dmx.add_stream(NAStream::new(StreamType::Audio, 1, ainfo)); let packed = if (aflags & 8) != 0 { 1 } else { 0 }; |