[gstreamer-bugs] [Bug 627942] New: [queue2] wrong percent-filled estimation during on-disk buffering

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 25 06:14:48 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=627942
  GStreamer | gstreamer (core) | git

           Summary: [queue2] wrong percent-filled estimation during
                    on-disk buffering
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: phil at base-art.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


It seems that in update_buffering() and if rate estimation is enabled the
rate_time is wrongly calculated in GET_PERCENT() and percent value becomes
wrong too ;)

To reproduce:

gst-launch-0.10 playbin2 flags=0x97
uri="http://chaos.troll.no/~tavestbo/webkit/mediaelement/bunny/big_buck_bunny_480p_surround-fix.avi"


0:00:04.048325005 30878  0x8ad4838 INFO                  queue2
gstqueue2.c:1720:gst_queue2_create_write:<queue20> cur_level.bytes 1025388 (max
0)
0:00:04.048438008 30878  0x8a867c8 DEBUG                 queue2
gstqueue2.c:1015:gst_queue2_have_data:<queue20> looking for offset 220056366,
len 8
0:00:04.048471532 30878  0x8a867c8 DEBUG                 queue2
gstqueue2.c:536:find_range:<queue20> no range for 220056366
0:00:04.048498980 30878  0x8a867c8 INFO                  queue2
gstqueue2.c:1042:gst_queue2_have_data:<queue20> not found in any range
0:00:04.048525170 30878  0x8a867c8 DEBUG                 queue2
gstqueue2.c:1205:gst_queue2_create_read:<queue20> waiting for add
0:00:04.050303818 30878  0x8ad4838 DEBUG                 queue2
gstqueue2.c:761:apply_buffer:<queue20> last_stop updated to 0:00:00.000000000
0:00:04.050359552 30878  0x8ad4838 DEBUG                 queue2
gstqueue2.c:685:update_time_level:<queue20> sink 0:00:00.000000000, src
0:00:00.000000000
0:00:04.050393564 30878  0x8ad4838 DEBUG                 queue2
gstqueue2.c:924:update_in_rates:<queue20> rates: in 239767.595526, time
0:00:04.276591245
0:00:04.050428904 30878  0x8ad4838 DEBUG                 queue2
gstqueue2.c:1507:gst_queue2_create_write:<queue20> Writing 1440 bytes to
1033920
0:00:04.050477514 30878  0x8ad4838 INFO                  queue2
gstqueue2.c:1635:gst_queue2_create_write:<queue20> writing 1440 bytes to range
[0-1033920] (rb wpos 0)
0:00:04.050508174 30878  0x8ad4838 INFO                  queue2
gstqueue2.c:1705:gst_queue2_create_write:<queue20> wrote 1440 bytes to 1033920
(0 bytes remaining to write)

The video window doesn't show up. Using a normal buffering strategy works.

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