always support audio on still images
authorBrandon Lewis <brandon@collabora.co.uk>
Thu, 12 Aug 2010 13:44:47 +0000 (15:44 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 13 Aug 2010 09:50:31 +0000 (11:50 +0200)
ges/ges-timeline.c

index 11bd18d..f7b58e2 100644 (file)
@@ -361,7 +361,7 @@ discoverer_discovered_cb (GstDiscoverer * discoverer,
       else if (sinf->streamtype == GST_STREAM_VIDEO)
         tfs->supportedformats |= GES_TRACK_TYPE_VIDEO;
       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;
       }
     }