[gstreamer-bugs] [Bug 320774] New: playbin doesn't work anymore with current 0.9 cvs

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Nov 5 10:31:12 PST 2005


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=320774
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: playbin doesn't work anymore with current 0.9 cvs
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: luogni at tin.it
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


After this commit:
 http://cvs.freedesktop.org/gstreamer/gstreamer/gst/base/gstbasesrc.c?r1=1.72&r2=1.73

playbin doesn't work anymore:
luogni at bucefalo:~/Sorgenti/devel/0.9$ ./playbin home/luogni/Temp/nokia770doom.avi
PAUSE pipeline ...
ERROR: pipeline doesn't want to pause.

It seems that "gst_base_src_get_range" is called before the element change state
from NULL to READY so src->segment_end is not initialized (and it defaults to
zero at least here). This sets "maxsize = 0" in the _get_range function and make
s playbin fail. Just adding a:
 basesrc->segment_end = -1;
in "gst_base_src_init" makes playbin happy :)

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




More information about the Gstreamer-bugs mailing list