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 758855 - media-check: check frames and not only headers
media-check: check frames and not only headers
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-devtools
git master
Other All
: Normal enhancement
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-11-30 15:19 UTC by Thiago Sousa Santos
Modified: 2015-12-04 23:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
media-descriptor-writer: refactor getting the streamnode by a pad (5.65 KB, patch)
2015-11-30 15:20 UTC, Thiago Sousa Santos
committed Details | Review
media-descriptor: check if frame data matches (4.89 KB, patch)
2015-11-30 15:20 UTC, Thiago Sousa Santos
committed Details | Review
media-check: enable 'full' for files which reference are also 'full' (3.46 KB, patch)
2015-11-30 15:20 UTC, Thiago Sousa Santos
committed Details | Review

Description Thiago Sousa Santos 2015-11-30 15:19:27 UTC
At the moment, media-check is able to extract frame information from files but it never actually uses them when comparing in the tests.

It is useful to have the frames compared to be capable to possible detect regressions in synchronization and timestamping. It doesn't take long to compare those frames information as we have tests that do playback of a few seconds of media, this is much shorter.

I've been keeping my work on this here: http://cgit.freedesktop.org/~thiagoss/gst-devtools/log/?h=media-check-frames
Comment 1 Thiago Sousa Santos 2015-11-30 15:20:19 UTC
Created attachment 316524 [details] [review]
media-descriptor-writer: refactor getting the streamnode by a pad
Comment 2 Thiago Sousa Santos 2015-11-30 15:20:24 UTC
Created attachment 316525 [details] [review]
media-descriptor: check if frame data matches

When comparing media descriptors, also check if the frames
match
Comment 3 Thiago Sousa Santos 2015-11-30 15:20:30 UTC
Created attachment 316526 [details] [review]
media-check: enable 'full' for files which reference are also 'full'

If the reference file has frames information, enable it automatically
so that the comparison file also has frames to be used.
Comment 4 Thibault Saunier 2015-12-01 14:29:50 UTC
Review of attachment 316526 [details] [review]:

OK
Comment 5 Thibault Saunier 2015-12-01 14:34:15 UTC
Review of attachment 316525 [details] [review]:

Looks good.
Comment 6 Thibault Saunier 2015-12-01 14:36:23 UTC
Review of attachment 316524 [details] [review]:

OK, please make sure we get the default testsuite fixed before merging :)
Comment 7 Thiago Sousa Santos 2015-12-04 22:06:03 UTC
commit ae52807efdb7b3aa45528c5befa1374620092ff5
Author: Thiago Santos <thiagoss@osg.samsung.com>
Date:   Mon Nov 30 11:54:05 2015 -0300

    media-check: enable 'full' for files which reference are also 'full'
    
    If the reference file has frames information, enable it automatically
    so that the comparison file also has frames to be used.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758855

commit ee7cb88d02a8e16402458b2c3e2ad97c3e510559
Author: Thiago Santos <thiagoss@osg.samsung.com>
Date:   Fri Nov 27 18:05:23 2015 -0300

    media-descriptor: check if frame data matches
    
    When comparing media descriptors, also check if the frames
    match
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758855

commit 84dd10b6284bc0b0f883e1f24ebe30ac555a539e
Author: Thiago Santos <thiagoss@osg.samsung.com>
Date:   Thu Nov 26 16:30:20 2015 -0300

    media-descriptor-writer: refactor getting the streamnode by a pad
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758855