• Nicolas Hug's avatar
    Add an option to skip packets with empty data (#6442) · 05d12419
    Nicolas Hug authored
    
    
    Summary:
    This diff adds **`skipOperationNotPermittedPackets`** to `DecoderParameters`.
    
    Once that is set to `True`, it allows decoder to skip through those packets, that are causing `EPERM` errors and result into stoppage of consuming a stream.
    
    Reviewed By: jdsgomes
    
    Differential Revision: D38732706
    
    fbshipit-source-id: a5cb64e14edda376e6ba240089ebee2e3a9865d0
    Co-authored-by: default avatarOleksandr Voietsa <ovoietsa@fb.com>
    05d12419
decoder.cpp 20.4 KB