From aa2cd42206fdd0e5a2ea20230063e1793214dbdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 22 Feb 2016 00:57:19 +0200 Subject: [PATCH] Report video size changes to the media backend --- src/unix/mediactrl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/unix/mediactrl.cpp b/src/unix/mediactrl.cpp index 02d0d02e71..81da7425b0 100644 --- a/src/unix/mediactrl.cpp +++ b/src/unix/mediactrl.cpp @@ -635,10 +635,16 @@ bool wxGStreamerMediaBackend::QueryVideoSizeFromPad(GstPad* pad) #if GST_CHECK_VERSION(1,0,0) gst_caps_unref (caps); #endif + + NotifyMovieSizeChanged (); + return true; } // end if caps m_videoSize = wxSize(0,0); + + NotifyMovieSizeChanged (); + return false; // not ready/massive failure }