ext/ogg/gstoggmux.c: fix a silly segfault

Original commit message from CVS:
2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>

* ext/ogg/gstoggmux.c: (gst_ogg_mux_collected):
fix a silly segfault
This commit is contained in:
Thomas Vander Stichele 2006-01-14 20:46:25 +00:00
parent f220f8295b
commit 9f6fd00db4
3 changed files with 17 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/ogg/gstoggmux.c: (gst_ogg_mux_collected):
fix a silly segfault
2006-01-14 Tim-Philipp Müller <tim at centricular dot net>
* docs/libs/gst-plugins-base-libs-docs.sgml:

View file

@ -23,6 +23,15 @@ interface for adjusting color balance settings
</para>
<!-- ##### SIGNAL GstColorBalance::value-changed ##### -->
<para>
</para>
@gstcolorbalance: the object which received the signal.
@arg1:
@arg2:
<!-- ##### STRUCT GstColorBalanceClass ##### -->
<para>

View file

@ -1031,8 +1031,9 @@ gst_ogg_mux_collected (GstCollectPads * pads, GstOggMux * ogg_mux)
return GST_FLOW_OK;
}
GST_DEBUG_OBJECT (ogg_mux, "best pad %" GST_PTR_FORMAT " (oggpad %p)"
" pulling %" GST_PTR_FORMAT, best->collect.pad, best, ogg_mux->pulling);
if (best)
GST_DEBUG_OBJECT (ogg_mux, "best pad %" GST_PTR_FORMAT " (oggpad %p)"
" pulling %" GST_PTR_FORMAT, best->collect.pad, best, ogg_mux->pulling);
if (!best) { /* EOS : FIXME !! We need to handle EOS correctly, and set EOS
flags on the ogg pages. */