Changes between Initial Version and Version 1 of Ticket #4849, comment 3


Ignore:
Timestamp:
Sep 16, 2015, 1:52:00 PM (4 years ago)
Author:
pszemus
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4849, comment 3

    initial v1  
    11I've figured it's because the image2 demuxer has AVFMT_NOFILE flag set. Because of that, the remote jpg file is requested again (the if clause is true in libavformat/img2dec.c:226).
    22I would suspect that remote jpg files are requested only once. To accomplish this I'm thinking about removing the AVFMT_NOFILE flag from the image2 demuxer for my use case.
     3
     4Another solution for me would be to increase jpeg_pipe demuxer's score to be higher than AVPROBE_SCORE_EXTENSION.