On Mon, Nov 24, 2014 at 6:57 PM, Victor Toso <victortoso@xxxxxxxxxx> wrote: > gst_parse_launch may return not NULL even when error is set. > This can lead to data loss when playing or recording audio. Is there any case where gst_parse_launch returns NULL but does not set the error? If no, I'd go for a simple: if (error != NULL) { .... } Best Regards, -- Fabiano Fidêncio _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel