GESTimeline: Use GstDiscoverer for incomplete filesources
authorEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 19 May 2010 10:36:11 +0000 (12:36 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 19 May 2010 10:36:11 +0000 (12:36 +0200)
commit1bb45a61a6a037ad465914aed92819e796ae6976
tree1085916fe4766dd5754ab0e46ec6c2f56452208a
parenteb4b02f3ed772bf60c221c5d110c6f293e8398f9
GESTimeline: Use GstDiscoverer for incomplete filesources

If a GESTimelineFileSource is added to a layer and:
* It doesn't have specified supported formats
* OR it doesn't have a specified maximum duration
* OR it doesn't have a specifed duration

Then we asynchronously send it to the GstDiscoverer.

If this happens, the state change of the timeline from READY to
PAUSED will happen asynchronously and be completed when everything
has been properly discovered.

Part 2 of GstDiscoverer integration
ges/ges-timeline.c
ges/ges-timeline.h