[Bug 726785] New: [PATCH] oggdemux fails to play very small files in push mode

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 20 09:41:23 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=726785
  GStreamer | gst-plugins-base | git

           Summary: [PATCH] oggdemux fails to play very small files in
                    push mode
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: kiagiadakis.george at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


In a push mode pipeline, in order to find the duration of the file
oggdemux seeks to its end before starting playback, so that it can
see what is the time near the end. Unfortunately, it cannot seek to
the very end (because that would send EOS to the application) and it
also needs to go a bit earlier to make sure that there is a granpos
within the segment. On very small files, this time is already at
the start, so seeking to the end does not work and causes the file
not to be played.

This patch simply disables the duration check for such small files.
Note that it does not disable seeking, although it will probably
not work properly without knowing the duration, because seeking
is needed in html5 backends implemented with gstreamer (see webkitgtk)
in order to seek to 0 and replay the sound, if the web application
requests it.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list