aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-registry
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2020-11-03 10:47:39 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2020-12-12 18:02:07 +0100
commit696e4e20bf7167121352f247893370cb83213d5c (patch)
tree5206d020ba4208085c3e808cef4041f5a635aaf9 /nihav-registry
parent8480761d25359f1f88c6d6df020127a7a7ea6c74 (diff)
downloadnihav-696e4e20bf7167121352f247893370cb83213d5c.tar.gz
mostly working ITU H.264 decoder
Diffstat (limited to 'nihav-registry')
-rw-r--r--nihav-registry/src/register.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/nihav-registry/src/register.rs b/nihav-registry/src/register.rs
index 78ccb18..d4e2b02 100644
--- a/nihav-registry/src/register.rs
+++ b/nihav-registry/src/register.rs
@@ -256,6 +256,8 @@ static CODEC_REGISTER: &'static [CodecDescription] = &[
desc!(audio-ll; "flac", "Free Lossless Audio Codec"),
desc!(audio-ll; "tta", "True Audio codec"),
desc!(audio-hyb; "wavpack", "WavPack"),
+
+ desc!(video; "h264", "ITU H.264", CODEC_CAP_COMPLEX_REORDER | CODEC_CAP_HYBRID),
];
static AVI_VIDEO_CODEC_REGISTER: &'static [(&[u8;4], &str)] = &[
@@ -335,6 +337,8 @@ static MOV_VIDEO_CODEC_REGISTER: &'static [(&[u8;4], &str)] = &[
(b"VP30", "vp3"),
(b"VP31", "vp3"),
+
+ (b"avc1", "h264"),
];
static MOV_AUDIO_CODEC_REGISTER: &'static [(&[u8;4], &str)] = &[