[Spice-devel] [spice v13 10/29] server: Handle and recover from GStreamer encoding errors
Christophe Fergeau
cfergeau at redhat.com
Wed May 4 11:04:23 UTC 2016
On Wed, May 04, 2016 at 12:03:57PM +0200, Christophe Fergeau wrote:
> Ugh that's bad :( Using gst_message_new_request_state() might avoid
> this, but while the GstAppSink element is blocked waiting for data, I
> don't know if state changes are going to be handled (ie I'm not sure
> about GStreamer threading model and which thread the state change is
> going to come from). I can try asking on #gstreamer if needed.
Looking at the code, GST_MESSAGE_REQUEST_STATE_CHANGE does not seem to
be used within GStreamer. GstBin looks at EOS message though from the
thread GstBus runs in (I think), and GstAppSink also handles this
message, so maybe we could use EOS to recover from errors?
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160504/676a5888/attachment.sig>
More information about the Spice-devel
mailing list