decodebin: set the decode pad target before setting elements to PAUSED
authorMatthew Waters <matthew@centricular.com>
Thu, 15 Oct 2015 16:40:43 +0000 (03:40 +1100)
committerMatthew Waters <matthew@centricular.com>
Mon, 19 Oct 2015 00:55:04 +0000 (11:55 +1100)
commitd50b713f44eb17ebf69aa771c26f8eb19e226319
tree043c164e11ff0003ad6641da3d0b7d699ebe8b39
parentdf0d5aa4d52a53af95fc185fbb9b83aee149d033
decodebin: set the decode pad target before setting elements to PAUSED

Otherwise caps and context queries will disappear into nothing and therefore
fail.  With autoplug-query now actually working, users (such as playbin) can
proxy these queries to the selected video sink and be able to select an
more appropriate configuration.

https://bugzilla.gnome.org/show_bug.cgi?id=731204
gst/playback/gstdecodebin2.c