Introduce NAPacketiser::attach_stream()
authorKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 23 Apr 2024 16:44:02 +0000 (18:44 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 23 Apr 2024 16:44:02 +0000 (18:44 +0200)
commit1b56382ecc132f9a414486cad4ac9f75241955fb
treec83de821bf2cdcd2e196596f87a86f6a519c298d
parent962b9cb37ad2ff46692eee62087c53805a3c675b
Introduce NAPacketiser::attach_stream()

This allows packetisers to get initial stream information and act on it
during parsing process or returning a new stream.
nihav-core/src/codecs/mod.rs
nihav-llaudio/src/codecs/flac.rs
nihav-mpeg/src/codecs/mpegaudio/mod.rs