mssdemux: improve state changing
authorThiago Santos <thiago.sousa.santos@collabora.com>
Thu, 22 Nov 2012 16:01:09 +0000 (13:01 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 8 May 2013 00:05:10 +0000 (21:05 -0300)
commit91dd173f3c391d18bcff01a9e4e151f1ec568eb7
tree883e6ebda55fa0b934f10d13b58ea3410f3d842a
parentb4f994d47cf9e1cd31f65df717b9bb518db23148
mssdemux: improve state changing

Keep a ref on pad to prevent it being unreffed while the mssdemux
streams are still using it. Also reset the element when going to
ready instead of when going to null.
ext/smoothstreaming/gstmssdemux.c