projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4a2a46
)
flacenc: Properly register type
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Thu, 13 Oct 2011 15:12:23 +0000
(17:12 +0200)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Thu, 13 Oct 2011 15:12:23 +0000
(17:12 +0200)
It's a subclass of GstAudioEncoder and not of GstElement
ext/flac/gstflacenc.c
patch
|
blob
|
history
diff --git
a/ext/flac/gstflacenc.c
b/ext/flac/gstflacenc.c
index
026989d
..
6191ed5
100644
(file)
--- a/
ext/flac/gstflacenc.c
+++ b/
ext/flac/gstflacenc.c
@@
-150,7
+150,7
@@
GST_DEBUG_CATEGORY_STATIC (flacenc_debug);
#define GST_CAT_DEFAULT flacenc_debug
#define gst_flac_enc_parent_class parent_class
-G_DEFINE_TYPE_WITH_CODE (GstFlacEnc, gst_flac_enc, GST_TYPE_
ELEMENT
,
+G_DEFINE_TYPE_WITH_CODE (GstFlacEnc, gst_flac_enc, GST_TYPE_
AUDIO_ENCODER
,
G_IMPLEMENT_INTERFACE (GST_TYPE_TAG_SETTER, NULL));
static gboolean gst_flac_enc_start (GstAudioEncoder * enc);