[gstreamer-bugs] [Bug 332864] [gnomevfssrc] playing files from tar.gz archives fails

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Mar 16 08:41:03 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=332864
 GStreamer | gst-plugins-base | Ver: HEAD CVS


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




------- Comment #3 from Tim-Philipp Müller  2006-03-16 16:41 UTC -------
Basically, gnomevfssrc can't give a filesize for this stream when used like
this, which makes oggdemux-activated-in-pull-mode fail like this:

 gstoggdemux.c(2372):gst_ogg_demux_find_chains: can't get file length
 gstoggdemux.c(2599):gst_ogg_demux_loop:<oggdemux0> error: could not read
chains

Two possible solutions:

 (a) in gnome_vfs_src_start(), add something like:

      if (src->seekable && src->size == (GnomeVFSFileSize) -1) {
        src->seekable = FALSE;
      }

      which will make basesrc return FALSE when trying to activate in pull
mode,
      so it falls back to push mode then.

 (b) fix oggdemux to fall back to push mode when it can't get the upstream size


Probably even both changes should be made.


-- 
Configure bugmail: http://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