ext/ogg/gstoggdemux.c: Don't leak GstPluginFeatures when filtering.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c:
Don't leak GstPluginFeatures when filtering.
This commit is contained in:
Stefan Kost 2008-04-23 13:45:29 +00:00
parent b773ac8cb2
commit 6706362116
3 changed files with 13 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-04-23 Stefan Kost <ensonic@users.sf.net>
* ext/ogg/gstoggdemux.c:
Don't leak GstPluginFeatures when filtering.
2008-04-23 Stefan Kost <ensonic@users.sf.net>
* sys/xvimage/xvimagesink.c:

2
common

@ -1 +1 @@
Subproject commit 19a5a66b2dff75e2820bb2b2d43368d4fcb6a94a
Subproject commit f6fc3fa7643c03eb912f4e259d48c99b0e8d0aca

View file

@ -22,6 +22,7 @@
/**
* SECTION:element-oggdemux
* @short_description: a demuxer for ogg files
* @see_also: <link linkend="gst-plugins-base-plugins-oggmux">oggmux</link>
*
* <refsect2>
* <para>
@ -407,6 +408,11 @@ gst_ogg_pad_event (GstPad * pad, GstEvent * event)
res = gst_ogg_demux_perform_seek (ogg, event);
gst_event_unref (event);
break;
case GST_EVENT_QOS:
case GST_EVENT_NAVIGATION:
res = FALSE;
gst_event_unref (event);
break;
default:
res = gst_pad_event_default (pad, event);
break;
@ -788,7 +794,7 @@ gst_ogg_pad_typefind (GstOggPad * pad, ogg_packet * packet)
}
}
}
g_list_free (factories);
gst_plugin_feature_list_free (factories);
}
pad->element = element;