After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 413841 - [flactag] needs porting to 0.10.x
[flactag] needs porting to 0.10.x
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal enhancement
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 76524
 
 
Reported: 2007-03-02 13:18 UTC by Snark
Modified: 2008-08-22 16:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
lightly tested patch (16.70 KB, patch)
2008-03-24 11:11 UTC, Jonathan Matthew
committed Details | Review

Description Snark 2007-03-02 13:18:30 UTC
It's not built anymore.
Comment 1 Jonathan Matthew 2008-03-24 11:11:38 UTC
Created attachment 107909 [details] [review]
lightly tested patch

Fairly straightforward, except I simplified it a bit by using a GstAdapter rather than the buffer merging it used to do.

My testing consisted of running a few files through filesrc ! flactag ! filesink and seeing that they came out unchanged, and editing a few tags in rhythmbox.

I haven't tested the 'fast mode' code at all.  I'm not really sure what it's good for.
Comment 2 Sebastian Dröge (slomo) 2008-08-06 15:34:40 UTC
Thanks, I've committed this with quite some changes :)

2008-08-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

	Based on a patch by: Jonathan Matthew <notverysmart at gmail dot com>

	* ext/flac/Makefile.am:
	* ext/flac/gstflac.c: (plugin_init):
	* ext/flac/gstflactag.c: (gst_flac_tag_setup_interfaces),
	(gst_flac_tag_base_init), (gst_flac_tag_class_init),
	(gst_flac_tag_dispose), (gst_flac_tag_init),
	(gst_flac_tag_sink_setcaps), (gst_flac_tag_chain),
	(gst_flac_tag_change_state):
	* ext/flac/gstflactag.h:
	Port flactag to 0.10, add documentation for it and clean it up a bit.
	Fixes bug #413841.

	* docs/plugins/Makefile.am:
	* docs/plugins/gst-plugins-good-plugins-docs.sgml:
	* docs/plugins/gst-plugins-good-plugins-sections.txt:
	* docs/plugins/gst-plugins-good-plugins.hierarchy:
	* docs/plugins/gst-plugins-good-plugins.interfaces:
	* docs/plugins/gst-plugins-good-plugins.prerequisites:
	* docs/plugins/inspect/plugin-flac.xml:
	* ext/flac/gstflacdec.c: (gst_flac_dec_base_init):
	* ext/flac/gstflacdec.h:
	* ext/flac/gstflacenc.c: (gst_flac_enc_base_init):
	* ext/flac/gstflacenc.h:
	Add flactag and flacenc to the documentation and mark
	the private parts of the flacdec instance structure as private.

	Also use gst_element_class_set_details_simple() in flacdec and
	flacenc.