diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-08-07 15:21:17 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-08-07 15:21:17 +0000 |
commit | 966bbca4bcdd2135d46ba17695abba0d4edfb75a (patch) | |
tree | e83ee006ba2b42fecdc0103019760e89f7392d5b /gst/real/gstrealvideodec.c | |
parent | 9cf09a5871479270e2e76a1aad2250def30d155e (diff) | |
download | gst-plugins-bad-966bbca4bcdd2135d46ba17695abba0d4edfb75a.tar.gz gst-plugins-bad-966bbca4bcdd2135d46ba17695abba0d4edfb75a.tar.bz2 gst-plugins-bad-966bbca4bcdd2135d46ba17695abba0d4edfb75a.zip |
gst/real/gstrealvideodec.*: Remove some old unused vars.
Original commit message from CVS:
* 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.
Diffstat (limited to 'gst/real/gstrealvideodec.c')
-rw-r--r-- | gst/real/gstrealvideodec.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gst/real/gstrealvideodec.c b/gst/real/gstrealvideodec.c index 076918fb..67537f7c 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)); |