On Tue, Feb 24, 2009 at 05:38:24PM -0500, Daniel Benoy wrote: > Package: bluez-utils > > Raw mp3 data can be sent to the bluez gstreamer a2dpsink element like this: > > gst-launch filesrc location=<some mp3 file> ! mp3parse ! a2dpsink > device=<address> > > However, on my debian system, the output for channel description messages from > the mp3parse element don't match what the a2dpsink element expects to see. > This results in an error that was a PITA to track down, and requires running > gst-launch with --gst-debug avdtpsink:5 at minimum, resulting in (among other > things) these lines: > > ---- > 0:00:02.785764000 12766 0xa8620 WARN avdtpsink > gstavdtpsink.c:1358:gst_avdtp_sink_set_channel_mode:<avdtpsink> Received > invalid channel mode: joint-stereo > 0:00:02.795341000 12766 0xa8620 ERROR avdtpsink > gstavdtpsink.c:987:gst_avdtp_sink_init_mp3_pkt_conf:<avdtpsink> No info about > channel mode received, can't proceed > 0:00:02.798054000 12766 0xa8620 ERROR avdtpsink > gstavdtpsink.c:1051:gst_avdtp_sink_configure:<avdtpsink> Couldn't parse caps > to packet configuration > ---- > > look at lines 152 and 153 in > gst-plugins-ugly0.10-0.10.10/gst/mpegaudioparse/gstmpegaudioparse.c, and > compare it to lines 283 and 287 in bluez-utils-3.36/audio/gstavdtpsink.c
what these lines are like? next time please report them :) > > I made the change by hand to gst-plugins-ugly, however I don't know which one > deserved to be changed (I suppose gstreamer is the authoratative source, so > maybe I should have changed bluez?) what have you changed? does this still happens with bluez 4 from unstable? thanks, filippo -- Filippo Giunchedi - http://esaurito.net - 0x6B79D401 I get mail, therefore I am. -- Dilbert -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

