Reduce code duplication in renderers
This commit is contained in:
parent
25e5175c54
commit
ada2270bd1
10 changed files with 31 additions and 105 deletions
|
|
@ -241,22 +241,6 @@ bool VDPAURenderer::needsTestFrame()
|
|||
return true;
|
||||
}
|
||||
|
||||
int VDPAURenderer::getDecoderCapabilities()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
IFFmpegRenderer::FramePacingConstraint VDPAURenderer::getFramePacingConstraint()
|
||||
{
|
||||
return PACING_ANY;
|
||||
}
|
||||
|
||||
bool VDPAURenderer::isRenderThreadSupported()
|
||||
{
|
||||
// renderFrame() may be called outside of the main thread
|
||||
return true;
|
||||
}
|
||||
|
||||
void VDPAURenderer::renderFrame(AVFrame* frame)
|
||||
{
|
||||
VdpStatus status;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue