[GStreamer] video info unset if upstream doesn't query allocation
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Oct 2013 09:18:42 +0000 (09:18 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Oct 2013 09:18:42 +0000 (09:18 +0000)
commit0963f503305e99a7e4281ba562379813f316baf9
tree62b26a980896e142a7e1f5b595dbc26cecb57b83
parentc3f9f3b89015e54ace320e937021903158bc7125
[GStreamer] video info unset if upstream doesn't query allocation
https://bugs.webkit.org/show_bug.cgi?id=122834

Reviewed by Gustavo Noronha Silva.

* platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
(webkitVideoSinkRender): If the sink didn't process any allocation
query then use the configured source pad caps and don't rely on
invalid video info.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp