From: David Schleef Date: Fri, 4 Sep 2009 07:11:38 +0000 (-0700) Subject: oggmux: don't overwrite object properties X-Git-Tag: RELEASE-0.10.26~165 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3019ebb1072cbbe801740cd5768c197c18cf37c3;p=platform%2Fupstream%2Fgst-plugins-base.git oggmux: don't overwrite object properties --- diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index b075ee1..b37a563 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -231,8 +231,6 @@ gst_ogg_mux_clear (GstOggMux * ogg_mux) { ogg_mux->pulling = NULL; ogg_mux->need_headers = TRUE; - ogg_mux->max_delay = DEFAULT_MAX_DELAY; - ogg_mux->max_page_delay = DEFAULT_MAX_PAGE_DELAY; ogg_mux->delta_pad = NULL; ogg_mux->offset = 0; ogg_mux->next_ts = 0; @@ -260,6 +258,9 @@ gst_ogg_mux_init (GstOggMux * ogg_mux) (GstCollectPadsFunction) GST_DEBUG_FUNCPTR (gst_ogg_mux_collected), ogg_mux); + ogg_mux->max_delay = DEFAULT_MAX_DELAY; + ogg_mux->max_page_delay = DEFAULT_MAX_PAGE_DELAY; + gst_ogg_mux_clear (ogg_mux); }