mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
oggmux: don't overwrite object properties
This commit is contained in:
parent
f8abb8cf15
commit
3019ebb107
1 changed files with 3 additions and 2 deletions
|
@ -231,8 +231,6 @@ gst_ogg_mux_clear (GstOggMux * ogg_mux)
|
||||||
{
|
{
|
||||||
ogg_mux->pulling = NULL;
|
ogg_mux->pulling = NULL;
|
||||||
ogg_mux->need_headers = TRUE;
|
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->delta_pad = NULL;
|
||||||
ogg_mux->offset = 0;
|
ogg_mux->offset = 0;
|
||||||
ogg_mux->next_ts = 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),
|
(GstCollectPadsFunction) GST_DEBUG_FUNCPTR (gst_ogg_mux_collected),
|
||||||
ogg_mux);
|
ogg_mux);
|
||||||
|
|
||||||
|
ogg_mux->max_delay = DEFAULT_MAX_DELAY;
|
||||||
|
ogg_mux->max_page_delay = DEFAULT_MAX_PAGE_DELAY;
|
||||||
|
|
||||||
gst_ogg_mux_clear (ogg_mux);
|
gst_ogg_mux_clear (ogg_mux);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue