New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VideoPlayer: drop FlipPage from RMs public interface #12500
Conversation
@popcornmix I think this requires adaptions in omx player @garbear not sure if you have correct pts in videopicture. please check |
@@ -208,14 +208,10 @@ void CRetroPlayerVideo::SendPicture(VideoPicture& picture) | |||
{ | |||
std::atomic_bool bAbortOutput(false); //! @todo | |||
|
|||
int index = m_renderManager.AddVideoPicture(picture); | |||
if (!m_renderManager.AddVideoPicture(picture, bAbortOutput, VS_INTERLACEMETHOD_NONE, false)) | |||
if (index < 0) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@FernetMenta any advice on what is required by omxplayer now? I used to call Flip (but not AddVideoPicture) to update pts value in renderer. Now I don't really want to call AddVideoPicture as there is no picture to display. If I don't call either, then I don't get any subs rendered. |
@popcornmix actually nothing has changed. Both methods were called in a sequence. pts value argument of Flip was same as picture->pts of AddVideopicture |
@popcornmix how is the status here? |
omxplayer has never called AddVideoPicture. It has no pictures to add - video rendering occurs on the gpu with the arm having no knowledge of individual frames being renderered. omplayer does call FlipPage: I'm not sure what is now required. Should I generate a fake picture to pass to AddVideoPicture that gets discarded by renderer? It seems inefficient. |
Call AddVIdeoPicture with a picture that has required parameters. You renderer can ignore the picture or whatever is appropriate for it. |
jenkins build this please |
No description provided.