#8620: Fundamental bug in DirectShow capture - wrong timestamps
-------------------------------------+-------------------------------------
             Reporter:  Dmitry       |                    Owner:  (none)
  Sinitsyn                           |
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avdevice
              Version:  unspecified  |               Resolution:
             Keywords:  dshow dts    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Diederick Niehorster):

 Replying to [comment:15 Dmitry Sinitsyn]:
 > I submitted my patch [http://ffmpeg.org/pipermail/ffmpeg-
 devel/2020-June/263999.html] a year ago without any reaction. Hope your
 will have it.

 Ah, there ya go. Thats pretty much the same patch except that you have
 default on and i have default off :)

 > normal way should be:
 IMediaSample::GetTime for all samples, if time==NULL, then use reference
 clock.

 Ah, so is there a case missin? something like:
 {{{
 IMediaSample_GetTime(sample, &curtime, &dummy);
 if (curtime == 0)
     curtime = graphtime;
 }}}
 where graphtime is set by IReferenceClock_GetTime(clock, &graphtime);
 ?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/8620#comment:16>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to