[Spice-devel] [PATCH 2/2] audio: Avoid bad pipelines from gst_parse_launch

Fabiano FidĂȘncio fabiano at fidencio.org
Mon Nov 24 10:29:12 PST 2014


On Mon, Nov 24, 2014 at 6:57 PM, Victor Toso <victortoso at redhat.com> 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


More information about the Spice-devel mailing list