uridecodebin3: check state in src_pad_added callback
authorEunhye Choi <eunhae1.choi@samsung.com>
Wed, 27 May 2020 11:28:40 +0000 (20:28 +0900)
committerEunhye Choi <eunhae1.choi@samsung.com>
Tue, 2 Jun 2020 06:46:18 +0000 (15:46 +0900)
commitfa51a60dbc1cf7bdb3cd079902fafb1451b65730
treeccabe2c56f5b081bd3fcea6379b191058c38581f
parent8dcd6770baeb8fc31000b35b8153a2f02c0b6f26
uridecodebin3: check state in src_pad_added callback

- avoid deadlock during autoplugging
- get state before linking between urisourcebin and decodebin3
  to avoid resync state change of the uridecodebin3

Change-Id: I7f0fb12527c13b9c09ee4506d24fbfa168a06986
gst/playback/gsturidecodebin3.c
packaging/gst-plugins-base.spec