Revision 4992d8bf libavformat/framehook.c

View differences:

libavformat/framehook.c
93 93
#endif
94 94
}
95 95

  
96
void frame_hook_process(AVPicture *pict, enum PixelFormat pix_fmt, int width, int height)
96
void frame_hook_process(AVPicture *pict, enum PixelFormat pix_fmt, int width, int height, int64_t pts)
97 97
{
98 98
    if (first_hook) {
99 99
        FrameHookEntry *fhe;
100
        int64_t pts = av_gettime();
101 100

  
102 101
        for (fhe = first_hook; fhe; fhe = fhe->next) {
103 102
            fhe->Process(fhe->ctx, pict, pix_fmt, width, height, pts);

Also available in: Unified diff