mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
GESTimeline: Change for updated GstDiscoverer API
This commit is contained in:
parent
a5382931d2
commit
9718bf1f1f
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue