mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-03 10:43:55 +00:00
always support audio on still images
This commit is contained in:
parent
4408354819
commit
c9eba54506
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ discoverer_discovered_cb (GstDiscoverer * discoverer,
|
||||||
else if (sinf->streamtype == GST_STREAM_VIDEO)
|
else if (sinf->streamtype == GST_STREAM_VIDEO)
|
||||||
tfs->supportedformats |= GES_TRACK_TYPE_VIDEO;
|
tfs->supportedformats |= GES_TRACK_TYPE_VIDEO;
|
||||||
else if (sinf->streamtype == GST_STREAM_IMAGE) {
|
else if (sinf->streamtype == GST_STREAM_IMAGE) {
|
||||||
tfs->supportedformats |= GES_TRACK_TYPE_VIDEO;
|
tfs->supportedformats |= GES_TRACK_TYPE_VIDEO | GES_TRACK_TYPE_AUDIO;
|
||||||
is_image = TRUE;
|
is_image = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue