• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Pipewireパッケージ(ちょっと変更)


Commit MetaInfo

Revisiónaef99f840fa39cb18165c76959ef32f376c5639c (tree)
Tiempo2023-11-16 17:51:11
AutorWim Taymans <wtaymans@redh...>
CommiterWim Taymans

Log Message

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.

Cambiar Resumen

Diferencia incremental

--- a/src/gst/gstpipewiresrc.c
+++ b/src/gst/gstpipewiresrc.c
@@ -783,9 +783,10 @@ wait_started (GstPipeWireSrc *this)
783783 GST_DEBUG_OBJECT (this, "waiting for started signal, state now %s",
784784 pw_stream_state_as_string (state));
785785
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) {
789790 state = PW_STREAM_STATE_ERROR;
790791 break;
791792 }