[mythtv] Is AvFormatDecoder::GetFrame(-1) broken?

Chris Pinkham cpinkham at bc2va.org
Tue Jan 10 06:07:58 UTC 2006


> Boleslaw Ciesielski wrote:
> > --- libs/libmythtv/avformatdecoder.cpp  (revision 8519)
> > +++ libs/libmythtv/avformatdecoder.cpp  (working copy)
> > @@ -2483,6 +2483,7 @@
> >                      }
> >                      if (onlyvideo < 0)
> >                      {
> > +                        gotvideo = 1;
> >                          framesPlayed++;
> >                          ptr += pkt->size;
> >                          len -= pkt->size;

Yes, this is a bug and the fix has been committed to SVN.  Thanks for
tracking this down.  nuppeldecoder.cpp had it correct, but the
gotvideo somehow got missed in avformatdecoder.cpp.

-- 
Chris



More information about the mythtv-dev mailing list