How is ffmpeg_GetFrameBuf() called?

This forum is about all development around libVLC.
busybeeCS
Blank Cone
Blank Cone
Posts: 37
Joined: 24 Aug 2013 08:06

How is ffmpeg_GetFrameBuf() called?

Postby busybeeCS » 20 Sep 2013 10:06

It seems as if the function ffmpeg_GetFrameBuf has been called repeatedly in different threads. Does it aim to do some post-processing after decoding?

Tracing the code, i see ffmpeg_GetFrameBuf is only assigned to p_sys->p_context->get_buffer in video.c without directly being called, but i cannot find where is p_sys->p_context->get_buffer called?

Can anybody give me some explanation? I will be grateful.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How is ffmpeg_GetFrameBuf() called?

Postby Rémi Denis-Courmont » 21 Sep 2013 09:29

It's a libavcodec callback.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

busybeeCS
Blank Cone
Blank Cone
Posts: 37
Joined: 24 Aug 2013 08:06

Re: How is ffmpeg_GetFrameBuf() called?

Postby busybeeCS » 21 Sep 2013 10:56

It's a libavcodec callback.
can u tell me where it is triggered?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests