mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
oggdemux: remove unused instance variable event
It is never set to anything
This commit is contained in:
parent
0a115bd31f
commit
ef547c3eb5
2 changed files with 1 additions and 7 deletions
|
@ -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…
Reference in a new issue