diff options
author | Andy Wingo <wingo@pobox.com> | 2002-03-19 04:10:06 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2002-03-19 04:10:06 +0000 |
commit | 4359de26166000e317604b6b20283c79dd2a0521 (patch) | |
tree | bc587b41e92b76e4f12e5e11984989e4e89d9935 /gst/mpeg1videoparse | |
parent | 0dc999da00ffc311ee1fc040ab754dab6660f2c7 (diff) | |
download | gst-plugins-bad-4359de26166000e317604b6b20283c79dd2a0521.tar.gz gst-plugins-bad-4359de26166000e317604b6b20283c79dd2a0521.tar.bz2 gst-plugins-bad-4359de26166000e317604b6b20283c79dd2a0521.zip |
removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
Diffstat (limited to 'gst/mpeg1videoparse')
-rw-r--r-- | gst/mpeg1videoparse/Makefile.am | 2 | ||||
-rw-r--r-- | gst/mpeg1videoparse/gstmp1videoparse.c | 16 | ||||
-rw-r--r-- | gst/mpeg1videoparse/gstmp1videoparse.h | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/gst/mpeg1videoparse/Makefile.am b/gst/mpeg1videoparse/Makefile.am index a28916ab..eb718f44 100644 --- a/gst/mpeg1videoparse/Makefile.am +++ b/gst/mpeg1videoparse/Makefile.am @@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libgstmp1videoparse.la libgstmp1videoparse_la_SOURCES = gstmp1videoparse.c libgstmp1videoparse_la_CFLAGS = $(GST_CFLAGS) -O3 $(FOMIT_FRAME_POINTER) -ffast-math -libgstmp1videoparse_la_LIBADD = $(GST_LIBS) +libgstmp1videoparse_la_LIBADD = libgstmp1videoparse_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) noinst_HEADERS = gstmp1videoparse.h diff --git a/gst/mpeg1videoparse/gstmp1videoparse.c b/gst/mpeg1videoparse/gstmp1videoparse.c index 0d54d27e..86ad51e4 100644 --- a/gst/mpeg1videoparse/gstmp1videoparse.c +++ b/gst/mpeg1videoparse/gstmp1videoparse.c @@ -17,7 +17,7 @@ * Boston, MA 02111-1307, USA. */ -//#define GST_DEBUG_ENABLED +/*#define GST_DEBUG_ENABLED */ #include "gstmp1videoparse.h" /* Start codes. */ @@ -100,7 +100,7 @@ static void gst_mp1videoparse_flush (Mp1VideoParse *mp1videoparse); static GstPadTemplate *src_template, *sink_template; static GstElementClass *parent_class = NULL; -//static guint gst_mp1videoparse_signals[LAST_SIGNAL] = { 0 }; +/*static guint gst_mp1videoparse_signals[LAST_SIGNAL] = { 0 }; */ GType mp1videoparse_get_type (void) @@ -245,7 +245,7 @@ gst_mp1videoparse_real_chain (Mp1VideoParse *mp1videoparse, GstBuffer *buf, GstP guint64 time_stamp; GstBuffer *temp; -// g_return_if_fail(GST_IS_BUFFER(buf)); +/* g_return_if_fail(GST_IS_BUFFER(buf)); */ time_stamp = GST_BUFFER_TIMESTAMP(buf); @@ -310,7 +310,7 @@ gst_mp1videoparse_real_chain (Mp1VideoParse *mp1videoparse, GstBuffer *buf, GstP while (offset < size-1) { sync_byte = *(data + offset); - //printf(" %d %02x\n", offset, sync_byte); + /*printf(" %d %02x\n", offset, sync_byte); */ if (sync_byte == 0) { sync_state++; } @@ -333,9 +333,9 @@ gst_mp1videoparse_real_chain (Mp1VideoParse *mp1videoparse, GstBuffer *buf, GstP } else sync_state = 0; } - // something else... + /* something else... */ else sync_state = 0; - // go down the buffer + /* go down the buffer */ offset++; } @@ -376,12 +376,12 @@ gst_mp1videoparse_change_state (GstElement *element) mp1videoparse = GST_MP1VIDEOPARSE(element); GST_DEBUG (0,"mp1videoparse: state pending %d\n", GST_STATE_PENDING(element)); - // if going down into NULL state, clear out buffers + * if going down into NULL state, clear out buffers * if (GST_STATE_PENDING(element) == GST_STATE_READY) { gst_mp1videoparse_flush(mp1videoparse); } - // if we haven't failed already, give the parent class a chance to ;-) + * if we haven't failed already, give the parent class a chance to ;-) * if (GST_ELEMENT_CLASS(parent_class)->change_state) return GST_ELEMENT_CLASS(parent_class)->change_state(element); diff --git a/gst/mpeg1videoparse/gstmp1videoparse.h b/gst/mpeg1videoparse/gstmp1videoparse.h index ee7f0a36..681f2ee8 100644 --- a/gst/mpeg1videoparse/gstmp1videoparse.h +++ b/gst/mpeg1videoparse/gstmp1videoparse.h @@ -50,7 +50,7 @@ struct _Mp1VideoParse { GstPad *sinkpad,*srcpad; - GstBuffer *partialbuf; // previous buffer (if carryover) + GstBuffer *partialbuf; /* previous buffer (if carryover) */ gulong next_buffer_offset; gboolean need_resync; gboolean in_flush; |