diff --git a/ChangeLog b/ChangeLog index cdaf56eb6e..69fd9325e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-08-07 Wim Taymans + + * gst/real/gstrealvideodec.c: (gst_real_video_dec_chain), + (gst_real_video_dec_activate_push), (open_library), + (gst_real_video_dec_init), (gst_real_video_dec_finalize): + * gst/real/gstrealvideodec.h: + Remove some old unused vars. + 2007-08-07 Wim Taymans * gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps): diff --git a/gst/real/gstrealvideodec.c b/gst/real/gstrealvideodec.c index 076918fb70..67537f7c69 100644 --- a/gst/real/gstrealvideodec.c +++ b/gst/real/gstrealvideodec.c @@ -202,10 +202,6 @@ could_not_push: static gboolean gst_real_video_dec_activate_push (GstPad * pad, gboolean active) { - GstRealVideoDec *dec = GST_REAL_VIDEO_DEC (GST_PAD_PARENT (pad)); - - gst_adapter_clear (dec->adapter); - return TRUE; } @@ -468,8 +464,6 @@ gst_real_video_dec_init (GstRealVideoDec * dec, GstRealVideoDecClass * klass) dec->src = gst_pad_new_from_static_template (&src_t, "src"); gst_pad_use_fixed_caps (dec->src); gst_element_add_pad (GST_ELEMENT (dec), dec->src); - - dec->adapter = gst_adapter_new (); } static void @@ -487,11 +481,6 @@ gst_real_video_dec_finalize (GObject * object) { GstRealVideoDec *dec = GST_REAL_VIDEO_DEC (object); - if (dec->adapter) { - g_object_unref (G_OBJECT (dec->adapter)); - dec->adapter = NULL; - } - close_library (dec->hooks); memset (&dec->hooks, 0, sizeof (dec->hooks)); diff --git a/gst/real/gstrealvideodec.h b/gst/real/gstrealvideodec.h index 641f39bcc2..db2496f462 100644 --- a/gst/real/gstrealvideodec.h +++ b/gst/real/gstrealvideodec.h @@ -65,20 +65,9 @@ struct _GstRealVideoDec gint format, subformat; gint framerate_num, framerate_denom; - /* Variables needed for fixing timestamps. */ - GstClockTime next_ts, last_ts; - guint16 next_seq, last_seq; - /* Hooks */ GstRealVideoDecHooks hooks; - /* State */ - GstAdapter *adapter; - guint8 seqnum, subseq; - guint16 length; - guint32 fragment_count; - guint32 fragments[256]; - /* Properties */ gchar *real_codecs_path, *rv20_names, *rv30_names, *rv40_names; };