SHARE
TWEET

h264_seek_recovered_1.patch

a guest Jan 5th, 2019 106 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: libavcodec/h264_refs.c
  2. ===================================================================
  3. --- libavcodec/h264_refs.c  (revision 4313)
  4. +++ libavcodec/h264_refs.c  (working copy)
  5. @@ -816,6 +816,9 @@
  6.      if (   err >= 0
  7.          && h->long_ref_count==0
  8.          && (   h->short_ref_count<=2
  9. +// ==> Start patch MPC
  10. +            || 1
  11. +// ==> End patch MPC
  12.              || pps_ref_count[0] <= 2 && pps_ref_count[1] <= 1 && h->avctx->has_b_frames
  13.              || pps_ref_count[0] <= 1 + (h->picture_structure != PICT_FRAME) && pps_ref_count[1] <= 1)
  14.          && pps_ref_count[0]<=2 + (h->picture_structure != PICT_FRAME) + (2*!h->has_recovery_point)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top