Bug 151271 - [WinCairo][MediaFoundation] Video rendered at wrong position.
Summary: [WinCairo][MediaFoundation] Video rendered at wrong position.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 12:06 PST by peavo
Modified: 2015-11-13 13:52 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.93 KB, patch)
2015-11-13 12:58 PST, peavo
no flags Details | Formatted Diff | Diff
Patch (1.93 KB, patch)
2015-11-13 13:00 PST, peavo
achristensen: review+
achristensen: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description peavo 2015-11-13 12:06:43 PST
Watching videos at YouTube shows that we are not rendering them at the correct position.
Comment 1 peavo 2015-11-13 12:58:38 PST
Created attachment 265491 [details]
Patch
Comment 2 peavo 2015-11-13 13:00:37 PST
Created attachment 265493 [details]
Patch
Comment 3 Alex Christensen 2015-11-13 13:03:56 PST
Comment on attachment 265493 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=265493&action=review

> Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:2692
> +        FloatRect destRect = r;

This isn't needed if it's used only once and r is not used anywhere else.  Just rename the parameter.
Comment 4 peavo 2015-11-13 13:39:42 PST
(In reply to comment #3)
> Comment on attachment 265493 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=265493&action=review
> 
> > Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:2692
> > +        FloatRect destRect = r;
> 
> This isn't needed if it's used only once and r is not used anywhere else. 
> Just rename the parameter.

Thanks for reviewing :) I will rename the parameter.
Comment 5 peavo 2015-11-13 13:52:26 PST
Committed r192441: <http://trac.webkit.org/changeset/192441>.