Report video size changes to the media backend
This commit is contained in:
parent
d0ef5d7daa
commit
aa2cd42206
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user