GNOME Bugzilla – Bug 705349
bluez: avdtpsrc produces error at EOF
Last modified: 2013-08-02 13:43:56 UTC
The current implementation of the bluez avdtpsrc plugin throws an error in the create function when the underlying stream is at EOF (e.g. when disconnecting the device). The attached patch changes the behavior to return GST_FLOW_EOS.
Created attachment 250686 [details] [review] fix
Comment on attachment 250686 [details] [review] fix Thanks for the patch! Looks good in general, but please provide the patch in 'git format-patch -1' format (that command should generate a file in the local directory), and change the GST_ERROR_OBJECT about EOF into GST_INFO_OBJECT. Thanks!
Created attachment 250700 [details] [review] reworked fix Changed patch as requested by Tim-Philipp Müller
Thanks a lot, pushed: commit f3d6e46454fecfb125183dabd4837e04dc2766a8 Author: Bernhard Miller <bernhard.miller@streamunlimited.com> Date: Fri Aug 2 15:12:17 2013 +0200 bluez: return GST_FLOW_EOS in avdtpsrc create when stream is EOF Signed-off-by: Bernhard Miller <bernhard.miller@streamunlimited.com> https://bugzilla.gnome.org/show_bug.cgi?id=705349