[FFmpeg-trac] #4805(swscale:open): swscale does not process pixels when only color-matrix differs between input and output

FFmpeg trac at avcodec.org
Thu Aug 27 02:25:30 CEST 2015


#4805: swscale does not process pixels when only color-matrix differs between
input and output
------------------------------------+-----------------------------------
             Reporter:  rmk         |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  swscale
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by cehoyos):

 * status:  new => open
 * type:  enhancement => defect
 * version:  unspecified => git-master
 * component:  undetermined => swscale
 * reproduced:  0 => 1


Comment:

 See also
 http://thread.gmane.org/gmane.comp.video.ffmpeg.user/57005/focus=57093 and
 my incomplete patch in http://ffmpeg.org/pipermail/ffmpeg-
 devel/2015-May/173223.html - the second hunk doesn't work for some reason,
 the first hunk now looks like this and should be necessary afaict:
 {{{
 diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
 index 9698bfb..be061e2 100644
 --- a/libavfilter/vf_scale.c
 +++ b/libavfilter/vf_scale.c
 @@ -350,6 +350,7 @@ static int config_props(AVFilterLink *outlink)
      scale->isws[0] = scale->isws[1] = scale->sws = NULL;
      if (inlink0->w == outlink->w &&
          inlink0->h == outlink->h &&
 +        scale->in_range == scale->out_range &&
          inlink0->format == outlink->format)
          ;
      else {
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4805#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list