Pipewireパッケージ(ちょっと変更)
Revisión | aef99f840fa39cb18165c76959ef32f376c5639c (tree) |
---|---|
Tiempo | 2023-11-16 17:51:11 |
Autor | Wim Taymans <wtaymans@redh...> |
Commiter | Wim Taymans |
Revert "gstpipewiresrc: break out of wait_started() also on STATE_UNCONNECTED"
This reverts commit 7465175ad0eea825928b47182b3fd0131fe2154d.
wait_started() is called before the stream is connecting and so
exits with an error immediately, which then makes the stream start
too early and block.
@@ -783,9 +783,10 @@ wait_started (GstPipeWireSrc *this) | ||
783 | 783 | GST_DEBUG_OBJECT (this, "waiting for started signal, state now %s", |
784 | 784 | pw_stream_state_as_string (state)); |
785 | 785 | |
786 | - if (state == PW_STREAM_STATE_ERROR || | |
787 | - state == PW_STREAM_STATE_UNCONNECTED || | |
788 | - this->flushing) { | |
786 | + if (state == PW_STREAM_STATE_ERROR) | |
787 | + break; | |
788 | + | |
789 | + if (this->flushing) { | |
789 | 790 | state = PW_STREAM_STATE_ERROR; |
790 | 791 | break; |
791 | 792 | } |