Re: [spice v13 10/29] server: Handle and recover from GStreamer encoding errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]