After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 619318 - [vp8] Decoder QoS (avoid memcpy)
[vp8] Decoder QoS (avoid memcpy)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal blocker
: 0.10.19
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-21 19:36 UTC by Philip Jägenstedt
Modified: 2010-05-22 09:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (6.19 KB, patch)
2010-05-21 19:36 UTC, Philip Jägenstedt
committed Details | Review
basevideodecoder: Reset QoS values when necessary (1.89 KB, patch)
2010-05-22 05:45 UTC, Sebastian Dröge (slomo)
committed Details | Review
basevideodecoder: Take the frame duration into account when calculating the earliest time (1.81 KB, patch)
2010-05-22 05:45 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Philip Jägenstedt 2010-05-21 19:36:22 UTC
Created attachment 161678 [details] [review]
patch

The chosen solution may not be what ds had in mind, code review will tell.
Comment 1 Sebastian Dröge (slomo) 2010-05-21 20:24:42 UTC
commit 0285cff3006efea8be58ae703a1f1dff990badb6
Author: Philip Jägenstedt <philipj@opera.com>
Date:   Fri May 21 20:53:36 2010 +0200

    vp8dec: drop late frames after decoding them
    
    This saves a memcpy, which is always something.
Comment 2 Tim-Philipp Müller 2010-05-21 23:06:03 UTC
This changed the API of the private decoder base class, which we want to copy over into the public dir after the release, so some discussion on that might have been nice beforehand... (or did I miss that? The last I saw was ds saying 'no more features before the release' and that he was going to hack on that after the release.)
Comment 3 Sebastian Dröge (slomo) 2010-05-22 04:11:26 UTC
My plan was to add this now before the release because no QOS is apparently causing some problems. After release we can discuss a good API for this and change things.
Comment 4 Philip Jägenstedt 2010-05-22 05:00:16 UTC
I didn't think this would be taken in before the release, just wanted to submit it up front for discussion.
Comment 5 Sebastian Dröge (slomo) 2010-05-22 05:25:55 UTC
I have a small patch pending to fix an issue with the QoS handling in the base class... will attach it in a few minutes.
Comment 6 Sebastian Dröge (slomo) 2010-05-22 05:45:20 UTC
Created attachment 161699 [details] [review]
basevideodecoder: Reset QoS values when necessary
Comment 7 Sebastian Dröge (slomo) 2010-05-22 05:45:25 UTC
Created attachment 161700 [details] [review]
basevideodecoder: Take the frame duration into account when calculating the earliest time

This formula is used in many other elements too.
Comment 8 Sebastian Dröge (slomo) 2010-05-22 09:03:28 UTC
commit 179555c45b8c58dded73acf7f600b14615fa167f
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Sat May 22 07:44:27 2010 +0200

    basevideodecoder: Take the frame duration into account when calculating the earliest time
    
    This formula is used in many other elements too.
    
    Fixes bug #619318.

commit 71ebf1add6f0456abb58f7656af942cbed3deb99
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Sat May 22 07:35:01 2010 +0200

    basevideodecoder: Reset QoS values when necessary