[gstreamer-bugs] [Bug 313812] metadata not found in ogg files without genre

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Sep 24 03:27:19 PDT 2005


Do not reply to this email.  You can add comments to this bug at
 http://bugzilla.gnome.org/show_bug.cgi?id=313812
 GStreamer | gst-plugins | Ver: 0.8.10





------- Additional Comments From Luca Ognibene  2005-09-24 10:27 -------
Created an attachment (id=52586)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=52586&action=view)
change algorithm that looks if a taglist is mediainfo or streaminfo

The previous algorithm worked as this:
 - if in the taglist there are more mediainfo tags than put all tags in the
taglist as mediainfo. Otherwise put them all as streaminfo.

I've changed it in a "more logical" (at least for me :)) ) alg:
 - if a tag is mediainfo put it in the mediainfo list
 - if a tag is streaminfo put it in the streaminfo list.
This way if a element (like vorbisdec) emits a taglist with streaminfo and
mediainfo tags the media-info lib correctly split them. 

New output with the patch:
FILE: /home/luogni/Temp/ogggenre/1.ogg
stream: 0x810f380, &stream: 0xbfcbf984
- mime type: application/ogg
- length: 5,345 seconds
- bitrate: 76,633 kbps
- number of tracks: 1
- track 0
  - metadata:
	 titolo: Prison Song
	artista: System of a Down
numero di traccia: 1
  totale tracce: 14
	  album: Toxicity
  - streaminfo:
	seriale: 114258250
	encoder: Xiph.Org libVorbis I 20040629
versione encoder: 0
    codec audio: Vorbis
bitrate nominale: 160000
	bitrate: 160000
  - format:
audio/x-raw-float, rate=(int)44100, channels=(int)2, endianness=(int)1234,
width=(int)32, buffer-frames=(int)0

(please test!)

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list