GNOME Bugzilla – Bug 674130
nassink hangs with audiolib error, ( pipeline never set to NULL)
Last modified: 2014-11-24 13:43:24 UTC
Created attachment 212080 [details] Maybe still bad, but hopefully not worse .. after entering : " gst-launch-0.10 filesrc location=anytune.mp3 ! mad ! audioconvert ! audioresample ! nassink " nassink hangs as in Summary above. after doing changes in nassink.c according to attachment it works. Don't know if these changes might have any other impacts in cases not tested by me.
I pushed a different version into the 0.10 branch. It contains some cleanups, the sequence of nas calls should be like your changes. Can you test and reopen this bug when it's not working? I tried running nasd but it relies on OSS... commit 67c8ae01be7b0023b63df12ca3ad276b1f5d8082 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Fri Apr 20 12:09:08 2012 +0200 nas: Rework nassink a little Based on patch from <ole.hellqvist at spray.se> Create and destroy flow in prepare/unprepare Remove some duplicate code from close and prepare that is now in unprepare. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674130
he old symptom was back... new problem is that as the unprep function is activated after the close function the nas server is set to null, this makes the "NAS_flush" function go crazy as it uses the server id for event handeling. I,ve added the line : if ( sink->audio != NULL) before " NAS_flush (sink);" Making the call in unprep conditional. An alternative would be to have some error handleling in NAS_flush. after that it worked ...
Reopening then..
Is this still a problem with 1.x?
The nas plugin hasn't been ported, and it doesn't look like anyone is working on it, so I would say let's close this.