GStreamer 1.0: fix some problems with QGstVideoRendererSink.
authorYoann Lopes <yoann.lopes@theqtcompany.com>
Wed, 28 Jan 2015 14:17:57 +0000 (15:17 +0100)
committerYoann Lopes <yoann.lopes@theqtcompany.com>
Wed, 18 Feb 2015 13:15:15 +0000 (13:15 +0000)
commitd4f88c3ec90962956840abc9a8b7137545d444e3
tree84000367f01b08f857f344cd1f8cacf9f8287a3e
parente4bf7d90bf32031641892783cc53f7712cb1c072
GStreamer 1.0: fix some problems with QGstVideoRendererSink.

- Correctly free resources on deletion.
- Correctly stop the sink. We were stopping only when null caps
  were passed to set_caps() but that doesn't seem to always happen.
  Implement GstBaseSink.stop() which is always and consistently
  called by GStreamer.
- Remove pre-roll support (as done previously for 0.10, see
  commit 3b20608f).

Change-Id: I4c5808938f244f4f8a35e121a3a4a862588b752d
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
src/gsttools/qgstvideorenderersink.cpp
src/multimedia/gsttools_headers/qgstvideorenderersink_p.h