oggdemux: remove unused instance variable event

It is never set to anything
This commit is contained in:
Thiago Santos 2014-02-19 23:54:59 -03:00
parent 0a115bd31f
commit ef547c3eb5
2 changed files with 1 additions and 7 deletions

View file

@ -4514,7 +4514,6 @@ gst_ogg_demux_loop (GstOggPad * pad)
{
GstOggDemux *ogg;
GstFlowReturn ret;
GstEvent *event;
ogg = GST_OGG_DEMUX (GST_OBJECT_PARENT (pad));
@ -4532,14 +4531,10 @@ gst_ogg_demux_loop (GstOggPad * pad)
GST_OBJECT_LOCK (ogg);
ogg->running = TRUE;
event = ogg->event;
ogg->event = NULL;
GST_OBJECT_UNLOCK (ogg);
/* and seek to configured positions without FLUSH */
res = gst_ogg_demux_perform_seek_pull (ogg, event);
if (event)
gst_event_unref (event);
res = gst_ogg_demux_perform_seek_pull (ogg, NULL);
if (!res)
goto seek_failed;

View file

@ -157,7 +157,6 @@ struct _GstOggDemux
GstSegment segment;
guint32 seqnum;
GstEvent *event;
GstEvent *newsegment; /* pending newsegment to be sent from _loop */
/* annodex stuff */