[Gstreamer-bugs] [Bug 142268] New: - avidemux forwards flush events event when not seeking

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon May 10 05:52:51 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=142268
GStreamer | gst-plugins | Ver: 0.8.1

           Summary: avidemux forwards flush events event when not seeking
           Product: GStreamer
           Version: 0.8.1
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-maint at bugzilla.gnome.org
        ReportedBy: sc5 at hermes.usherb.ca
         QAContact: gstreamer-maint at bugzilla.gnome.org


On Fri, 2004-05-07 at 21:28, Sebastien Cote wrote:
> When reading the avi, riff-read seeks in the input
> file which causes the filesrc to send a FLUSHING
> event.  riff then does a gst_pad_event_default() on
> the sinkpad of the avidemux which pushes it to the
> next element in the pipeline.  But this event
> shouldn't leave the avidemux since we're not really
> seeking in the media. If there's a queue in the
> pipeline, it will empty itself when it receives this
> event.
> 
> So I intercepted the FLUSHING event in riff-read.c to
> get rid of it.  It works, but I think this could break
> REAL seeking.
> 
> Does anyone know what the correct fix is?

Check avidemux->state (probably needs to be moved to riff->state), and
don't forward flush events if we're != GST_AVI_DEMUX_MOVI (should be
renamed GST_RIFF_READ_DATA).

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list