oggdemux: remove unused instance variable event
It is never set to anything
This commit is contained in:
parent
0a115bd31f
commit
ef547c3eb5
@ -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;
|
||||
|
@ -157,7 +157,6 @@ struct _GstOggDemux
|
||||
GstSegment segment;
|
||||
guint32 seqnum;
|
||||
|
||||
GstEvent *event;
|
||||
GstEvent *newsegment; /* pending newsegment to be sent from _loop */
|
||||
|
||||
/* annodex stuff */
|
||||
|
Loading…
x
Reference in New Issue
Block a user