WMF: re-enabled video probes and made it more robust.
authorYoann Lopes <yoann.lopes@digia.com>
Tue, 18 Dec 2012 20:40:55 +0000 (21:40 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 7 Jan 2013 03:57:20 +0000 (04:57 +0100)
commit73200f5464b4032fa25eedb5b594f17e48f5e7eb
tree7d89b21e1c944f14dac92393dade234d95323a38
parentb64ca061fde2987e138cc93903b2917b6c341f8c
WMF: re-enabled video probes and made it more robust.

Fixed the way the custom MF Transform (getting the frames) works:
- Recreate it whenever we load a new media
- During media type negotiation between nodes, the MFT should support
  the same types as the video sink supports
- Allow input and output types to be changed as many times as needed,
  otherwise the topology cannot be resolved in some cases

Change-Id: I7ca77e1a3dee83643f1a97f2e6ada9c5c0e88309
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/plugins/wmf/mftvideo.cpp
src/plugins/wmf/mftvideo.h
src/plugins/wmf/player/mfplayerservice.cpp
src/plugins/wmf/player/mfplayersession.cpp
src/plugins/wmf/player/mfplayersession.h