GNOME Bugzilla – Bug 150284
[matroskamux] fail to mux an MP3
Last modified: 2005-01-09 14:56:56 UTC
When I launch the following command-line, I get an access violation error (try to read the codec_id that is actually a pointer at NULL) : gst-launch filesrc location="oizo.mp3" ! mp3parse ! matroskamux ! filesink location="oizo.mka" The problem occurs because gst_matroska_mux_loop() is called before gst_matroska_mux_audio_pad_link() is called (ie the GST_RPAD_LINKFUNC() function).
The linkfunc is set on a pad created this way : gst_element_class_get_pad_template (klass, "audio_%d") But that "audio_0" with parent "matroskammux0" is never referenced in gst_pad_link_call_link_functions(), only the "src" and "sink" with parent "matroskammux0" are checked. So the problem is probably there.
I think this is fixed in CVS, please reopen if not. Also provide a good testcase for me to fix it then.