ijkplayer阅读笔记05-视频显示线程详解

本节主要介绍视频显示线程,流程如下:

video_refresh_thread {
    IJKFF_Pipenode *node = ffpipeline_open_video_output(ffp->pipeline, ffp);
        ffpipenode_run_sync(node);{
            ffp_video_refresh_thread(opaque->ffp);{
               ffplay_video_refresh_thread{
                   while(!is->abort_request) {
                      video_refresh(ffp, &remaining_time);{
                         video_image_display2{
                            vp = frame_queue_peek(&is->pictq);
                            SDL_VoutDisplayYUVOverlay(ffp->vout, vp->bmp);{
                               SDL_VoutOverlayAMediaCodec_releaseFrame  or
                               SDL_Android_NativeWindow_display_l
                            }
                         }
                      }
                   }
                }
             }
        }
    }
 }



你可能感兴趣的:(ffmpeg,android,ijkplayer)