#10943: "avformat: Enforce one-stream limit where appropriate" breaks audio
passthrough in mpv
-----------------------------------+---------------------------------------
             Reporter:  Mitzsch01  |                     Type:  defect
               Status:  new        |                 Priority:  normal
            Component:  avformat   |                  Version:  unspecified
             Keywords:  spdif      |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+---------------------------------------
 The change by adding .flags_internal to the file "libavformat/spdifenc.c"
 causes audio passthrough to fail in mpv.
 The issue is reported here => https://github.com/mpv-
 player/mpv/issues/13794

 The log there says

 {{{
 [ad] In: profile=60 samplerate=48000
 [ffmpeg] spdif: spdif muxer does not support any stream of type unknown
 [ad] libavformat spdif initialization failed.
 }}}

 and playback is stuck there.

 This can be fixed by just deleting the last line in the file
 "libavformat/spdifenc.c"

 {{{
     .flags_internal    = FF_OFMT_FLAG_MAX_ONE_OF_EACH,
 }}}

 
https://github.com/mitzsch/FFmpeg/commit/907f8c7e25cf8d033d9d28c7eb6aeec3b483268f
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10943>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to