GESTimeline: Change for updated GstDiscoverer API

This commit is contained in:
Edward Hervey 2010-11-04 12:28:46 +01:00
parent a5382931d2
commit 9718bf1f1f

View file

@ -357,7 +357,8 @@ discoverer_discovered_cb (GstDiscoverer * discoverer,
tfs->supportedformats |= GES_TRACK_TYPE_AUDIO;
else if (GST_IS_DISCOVERER_VIDEO_INFO (sinf)) {
tfs->supportedformats |= GES_TRACK_TYPE_VIDEO;
if (gst_discoverer_video_info_get_is_image (sinf)) {
if (gst_discoverer_video_info_is_image ((GstDiscovererVideoInfo *)
sinf)) {
tfs->supportedformats |= GES_TRACK_TYPE_AUDIO;
is_image = TRUE;
}