mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
Coherent namespace usage and adding symbold from unused to sections.
Original commit message from CVS: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * ext/theora/theoradec.c: * ext/theora/theoradec.h: Coherent namespace usage and adding symbold from unused to sections.
This commit is contained in:
parent
efad8af2a1
commit
cb1684abec
4 changed files with 38 additions and 18 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-01-21 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
|
||||||
|
* ext/theora/theoradec.c:
|
||||||
|
* ext/theora/theoradec.h:
|
||||||
|
Coherent namespace usage and adding symbold from unused to sections.
|
||||||
|
|
||||||
2008-01-21 Stefan Kost <ensonic@users.sf.net>
|
2008-01-21 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* docs/plugins/Makefile.am:
|
* docs/plugins/Makefile.am:
|
||||||
|
|
|
@ -599,6 +599,19 @@ GST_TYPE_SPEEX_RESAMPLE
|
||||||
gst_speex_resample_get_type
|
gst_speex_resample_get_type
|
||||||
</SECTION>
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>element-theoradecexp</FILE>
|
||||||
|
<TITLE>theoradecexp</TITLE>
|
||||||
|
GstTheoraExpDec
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
GstTheoraExpDecClass
|
||||||
|
GST_THEORA_DEC_EXP
|
||||||
|
GST_THEORA_DEC_EXP_CLASS
|
||||||
|
GST_IS_THEORA_DEC_EXP
|
||||||
|
GST_IS_THEORA_DEC_EXP_CLASS
|
||||||
|
GST_TYPE_THEORA_DEC_EXP
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
<SECTION>
|
<SECTION>
|
||||||
<FILE>element-timidity</FILE>
|
<FILE>element-timidity</FILE>
|
||||||
<TITLE>timidity</TITLE>
|
<TITLE>timidity</TITLE>
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:element-theoradec
|
* SECTION:element-theoradecexp
|
||||||
* @see_also: theoraenc, oggdemux
|
* @see_also: theoradec, theoraenc, oggdemux
|
||||||
*
|
*
|
||||||
* <refsect2>
|
* <refsect2>
|
||||||
* <para>
|
* <para>
|
||||||
|
@ -217,7 +217,7 @@ theora_dec_src_convert (GstPad * pad,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
dec = GST_THEORA_DEC (gst_pad_get_parent (pad));
|
dec = GST_THEORA_DEC_EXP (gst_pad_get_parent (pad));
|
||||||
|
|
||||||
/* we need the info part before we can done something */
|
/* we need the info part before we can done something */
|
||||||
if (!dec->have_header)
|
if (!dec->have_header)
|
||||||
|
@ -300,7 +300,7 @@ theora_dec_sink_convert (GstPad * pad,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
dec = GST_THEORA_DEC (gst_pad_get_parent (pad));
|
dec = GST_THEORA_DEC_EXP (gst_pad_get_parent (pad));
|
||||||
|
|
||||||
/* we need the info part before we can done something */
|
/* we need the info part before we can done something */
|
||||||
if (!dec->have_header)
|
if (!dec->have_header)
|
||||||
|
@ -366,7 +366,7 @@ theora_dec_src_query (GstPad * pad, GstQuery * query)
|
||||||
|
|
||||||
gboolean res = FALSE;
|
gboolean res = FALSE;
|
||||||
|
|
||||||
dec = GST_THEORA_DEC (gst_pad_get_parent (pad));
|
dec = GST_THEORA_DEC_EXP (gst_pad_get_parent (pad));
|
||||||
|
|
||||||
switch (GST_QUERY_TYPE (query)) {
|
switch (GST_QUERY_TYPE (query)) {
|
||||||
case GST_QUERY_POSITION:
|
case GST_QUERY_POSITION:
|
||||||
|
@ -488,7 +488,7 @@ theora_dec_src_event (GstPad * pad, GstEvent * event)
|
||||||
gboolean res = TRUE;
|
gboolean res = TRUE;
|
||||||
GstTheoraExpDec *dec;
|
GstTheoraExpDec *dec;
|
||||||
|
|
||||||
dec = GST_THEORA_DEC (gst_pad_get_parent (pad));
|
dec = GST_THEORA_DEC_EXP (gst_pad_get_parent (pad));
|
||||||
|
|
||||||
switch (GST_EVENT_TYPE (event)) {
|
switch (GST_EVENT_TYPE (event)) {
|
||||||
case GST_EVENT_SEEK:
|
case GST_EVENT_SEEK:
|
||||||
|
@ -569,7 +569,7 @@ theora_dec_sink_event (GstPad * pad, GstEvent * event)
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
GstTheoraExpDec *dec;
|
GstTheoraExpDec *dec;
|
||||||
|
|
||||||
dec = GST_THEORA_DEC (gst_pad_get_parent (pad));
|
dec = GST_THEORA_DEC_EXP (gst_pad_get_parent (pad));
|
||||||
|
|
||||||
GST_LOG_OBJECT (dec, "handling event");
|
GST_LOG_OBJECT (dec, "handling event");
|
||||||
switch (GST_EVENT_TYPE (event)) {
|
switch (GST_EVENT_TYPE (event)) {
|
||||||
|
@ -1281,7 +1281,7 @@ theora_dec_chain (GstPad * pad, GstBuffer * buf)
|
||||||
GstFlowReturn result = GST_FLOW_OK;
|
GstFlowReturn result = GST_FLOW_OK;
|
||||||
gboolean isheader;
|
gboolean isheader;
|
||||||
|
|
||||||
dec = GST_THEORA_DEC (gst_pad_get_parent (pad));
|
dec = GST_THEORA_DEC_EXP (gst_pad_get_parent (pad));
|
||||||
|
|
||||||
/* resync on DISCONT */
|
/* resync on DISCONT */
|
||||||
if (G_UNLIKELY (GST_BUFFER_FLAG_IS_SET (buf, GST_BUFFER_FLAG_DISCONT))) {
|
if (G_UNLIKELY (GST_BUFFER_FLAG_IS_SET (buf, GST_BUFFER_FLAG_DISCONT))) {
|
||||||
|
@ -1361,7 +1361,7 @@ done:
|
||||||
static GstStateChangeReturn
|
static GstStateChangeReturn
|
||||||
theora_dec_change_state (GstElement * element, GstStateChange transition)
|
theora_dec_change_state (GstElement * element, GstStateChange transition)
|
||||||
{
|
{
|
||||||
GstTheoraExpDec *dec = GST_THEORA_DEC (element);
|
GstTheoraExpDec *dec = GST_THEORA_DEC_EXP (element);
|
||||||
GstStateChangeReturn ret;
|
GstStateChangeReturn ret;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,16 +31,16 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GST_TYPE_THEORA_DEC \
|
#define GST_TYPE_THEORA_DEC_EXP \
|
||||||
(gst_theoradec_get_type())
|
(gst_theoradec_get_type())
|
||||||
#define GST_THEORA_DEC(obj) \
|
#define GST_THEORA_DEC_EXP(obj) \
|
||||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_THEORA_DEC,GstTheoraExpDec))
|
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_THEORA_DEC_EXP,GstTheoraExpDec))
|
||||||
#define GST_THEORA_DEC_CLASS(klass) \
|
#define GST_THEORA_DEC_EXP_CLASS(klass) \
|
||||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_THEORA_DEC,GstTheoraExpDecClass))
|
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_THEORA_DEC_EXP,GstTheoraExpDecClass))
|
||||||
#define GST_IS_THEORA_DEC(obj) \
|
#define GST_IS_THEORA_DEC_EXP(obj) \
|
||||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_THEORA_DEC))
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_THEORA_DEC_EXP))
|
||||||
#define GST_IS_THEORA_DEC_CLASS(klass) \
|
#define GST_IS_THEORA_DEC_EXP_CLASS(klass) \
|
||||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_THEORA_DEC))
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_THEORA_DEC_EXP))
|
||||||
|
|
||||||
typedef struct _GstTheoraExpDec GstTheoraExpDec;
|
typedef struct _GstTheoraExpDec GstTheoraExpDec;
|
||||||
typedef struct _GstTheoraExpDecClass GstTheoraExpDecClass;
|
typedef struct _GstTheoraExpDecClass GstTheoraExpDecClass;
|
||||||
|
|
Loading…
Reference in a new issue