[FFmpeg-trac] #2516(undetermined:new): pgssub produce warnings and are blinking

FFmpeg trac at avcodec.org
Sat Jul 12 02:23:37 CEST 2014


#2516: pgssub produce warnings and are blinking
-------------------------------------+-------------------------------------
             Reporter:  cehoyos      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  pgssub       |               Resolution:
  regression videolan                |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by michael):

 for ffmpeg the flickering can be fixed with:
 this needs more investigation though

 {{{
 diff --git a/ffmpeg.c b/ffmpeg.c
 index 5a47510..508a630 100644
 --- a/ffmpeg.c
 +++ b/ffmpeg.c
 @@ -2025,11 +2025,11 @@ static int transcode_subtitles(InputStream *ist,
 AVPacket *pkt, int *got_output)
      if (!*got_output)
          return ret;

 -    sub2video_update(ist, &subtitle);
 -
      if (!subtitle.num_rects)
          goto out;

 +    sub2video_update(ist, &subtitle);
 +
      ist->frames_decoded++;

      for (i = 0; i < nb_output_streams; i++) {

 }}}

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


More information about the FFmpeg-trac mailing list