Report video size changes to the media backend

This commit is contained in:
Sebastian Dröge 2016-02-22 00:57:19 +02:00
parent d0ef5d7daa
commit aa2cd42206

View File

@ -635,10 +635,16 @@ bool wxGStreamerMediaBackend::QueryVideoSizeFromPad(GstPad* pad)
#if GST_CHECK_VERSION(1,0,0) #if GST_CHECK_VERSION(1,0,0)
gst_caps_unref (caps); gst_caps_unref (caps);
#endif #endif
NotifyMovieSizeChanged ();
return true; return true;
} // end if caps } // end if caps
m_videoSize = wxSize(0,0); m_videoSize = wxSize(0,0);
NotifyMovieSizeChanged ();
return false; // not ready/massive failure return false; // not ready/massive failure
} }