mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-23 03:29:33 +02:00
codec is video & audio.
This commit is contained in:
parent
89737dd4ce
commit
8d0468ea62
2 changed files with 9 additions and 9 deletions
|
@ -145,7 +145,7 @@ func (manager *StreamSinkManagerCtx) createPipeline() error {
|
|||
}
|
||||
|
||||
appsinkSubfix := "audio"
|
||||
if codec.IsVideo(manager.codec.Type) {
|
||||
if manager.codec.IsVideo() {
|
||||
appsinkSubfix = "video"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue