[FFmpeg-devel] [PATCH] avcodec/vorbisdec: export skip_samples instead of dropping frames

Jyrki Vesterinen jyrkive at nekonyansoft.com
Wed Mar 22 17:45:31 EET 2023


perjantai, 17. maaliskuuta 2023, klo 20.45 (+02:00), Jyrki Vesterinen 
kirjoitti:

 > 
 > perjantai, 17. maaliskuuta 2023, klo 20.38 (+02:00), Anton Khirnov 
kirjoitti:
 > 
 > > CCing the author of the commit that's being undone.
 > > Jyrki, you should set AV_CODEC_FLAG2_SKIP_MANUAL in
 > > AVCodecContext.flags2 to avoid lavc dropping any samples. Please let 
us
 > > know if this works for your case.
 > > 
 > OK, I'll test it next week.
 > 

I have verified that with your patch applied and when the client code 
passes AV_CODEC_FLAG2_SKIP_MANUAL, our use case works correctly and audio 
samples aren't being skipped. Thank you!

-- 
Jyrki Vesterinen
Programmer
NekoNyan Ltd


More information about the ffmpeg-devel mailing list