[Bug 642732] New: [playbin2] cannot use gconfaudiosink configured to use custom sink
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Feb 18 23:30:17 PST 2011
https://bugzilla.gnome.org/show_bug.cgi?id=642732
GStreamer | gst-plugins-base | 0.10.33
Summary: [playbin2] cannot use gconfaudiosink configured to use
custom sink
Classification: Desktop
Product: GStreamer
Version: 0.10.33
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: tskd2 at yahoo.co.jp
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME target: ---
GNOME version: ---
I wrote a custom sink element, which accepts "audio/mpeg, mpegversion={2,4}",
and it works in these example pipelines.
gst-launch filesrc location=/foo.aac ! mysink
gst-launch filesrc location=/foo.aac ! gconfaudiosink (configured to use
mysink)
gst-launch playbin2 uri=file:///foo.aac audio-sink=mysink
but,
gst-launch playbin2 uri=file:///foo.aac audio-sink=gconfaudiosinnk
does not work.
I read the (kind of similar) bug report of #642274 and
updated the source code to the latest but the above problem remaind.
I added some debug print to gstswitchsink.c and then ran with
"--gst-debug playsink:5,switchsink:5,gconf:5",
which produced the following output.
0:00:00.024510983 21057 0x8a6080 DEBUG switchsink
gstswitchsink.c:148:gst_switch_sink_commit_new_kid:<GstSwitchSink at 0xaa2060>
Replacing kid with fakesink
0:00:00.025330352 21057 0x8a6080 DEBUG switchsink
gstswitchsink.c:209:gst_switch_sink_commit_new_kid:<GstSwitchSink at 0xaa2060>
Creating new ghostpad
0:00:00.025360313 21057 0x8a6080 DEBUG switchsink
gstswitchsink.c:213:gst_switch_sink_commit_new_kid:<GstSwitchSink at 0xaa2060>
done changing child of switchsink
0:00:00.031025894 21057 0x8a6080 DEBUG gconf
gstgconfaudiosink.c:232:gst_gconf_switch_profile:<GstGConfAudioSink at 0xaa2060>
Subscribing to key /system/gstreamer/0.10/default/audiosink for profile 0
0:00:00.031183655 21057 0x8a6080 DEBUG switchsink
gstswitchsink.c:266:gst_switch_sink_get_caps:<gconfaudiosink0> no kid set.
returns ANY caps.
0:00:00.031205535 21057 0x8a6080 DEBUG switchsink
gstswitchsink.c:270:gst_switch_sink_get_caps:<gconfaudiosink0> get caps:ANY
WARNING: erroneous pipeline: playbin20 を gconfaudiosink0 へリンクできません(*)
(*) failed to link playbin2 to gconfaudiosink0
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list