uri-sources: Make sure to set decodebin 'caps' property
authorThibault Saunier <tsaunier@gnome.org>
Tue, 26 Jul 2016 15:59:39 +0000 (11:59 -0400)
committerThibault Saunier <tsaunier@gnome.org>
Tue, 26 Jul 2016 16:07:37 +0000 (12:07 -0400)
commit577938c9bead6772f34a7f2a7f51bf98e9231985
tree7125ce961ba6c8ca0bf047e8f839c2ed80d52522
parent6762b05c19e184ab0b161071c8a573776251a119
uri-sources: Make sure to set decodebin 'caps' property

Fixes a regression where we decode streams twice,
this was introduced when we started creating NLE
object at GESTrackElement construct time.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=769193
ges/ges-audio-uri-source.c
ges/ges-video-uri-source.c