Skip to content
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

libavfilter yadif framerate, automatic deinterlace and automatic scaler fix #216

Closed
wants to merge 4 commits into from

Conversation

a11599
Copy link

@a11599 a11599 commented Jun 23, 2011

This patch improves yadif deinterlacer's handling in XBMC. With the patch, output framerate is only doubled if yadif is actually engaged: when the user explicitly selects deinterlace or selects automatic and the video flags tell the video is interlaced.

The patch also fixes automatic HQ scalers on Windows. This is achieved by checking for changed video fps and forces reinitialization of the renderer. To react quickly, video fps calculation will be reset everytime when yadif is enabled/disabled.

Comments welcome. :)

@@ -516,6 +518,8 @@ int CDVDVideoCodecFFmpeg::Decode(BYTE* pData, int iSize, double dts, double pts)
if (!m_filters.Equals(m_filters_next))
{
m_filters = m_filters_next;
if(m_filters == "")
FilterClose();

This comment was marked as spam.

This comment was marked as spam.

@a11599 a11599 closed this Jul 2, 2011
@a11599
Copy link
Author

a11599 commented Jul 2, 2011

I close this now as most of the issues are resolved in master and the auto scaler issue is being investigated by elupus. Unfortunately it is not that straightforward to fix.

tru pushed a commit to plexinc/plex-home-theater-public that referenced this pull request Jan 11, 2013
Fixes xbmc#216 - WE HAVE PLAYBACK :-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants