[Gstreamer-bugs] [Bug 144866] New: - [flac] seeking broken, duration not set on buffers [PATCH]

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Wed Jun 23 06:53:45 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=144866
GStreamer | gst-plugins | Ver: HEAD CVS

           Summary: [flac] seeking broken, duration not set on buffers
                    [PATCH]
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-maint at bugzilla.gnome.org
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-maint at bugzilla.gnome.org


The attached patch fixes two problems with flacdec: 
 
* seeking in flacs doesn't work 
 
* some sinks (e.g. artsdsink, nassink) report wrong values on doing 
gst_element_query(), e.g. artsdsink reports '11 seconds' where it should 
report a time position of '1 seconds'. Setting the duration on the buffer 
seems to fix that. 
 
 
I also think the whole block where gst_pad_set_explicit_caps() is called is 
called (line 493-506) should be moved to the beginning of the function, but as 
it doesn't seem to be necessary to make things work I've left it as it is. 
 
Cheers 
 -Tim

------- 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