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 683860 - codecparsers: h264: compute pixel aspect ratio
codecparsers: h264: compute pixel aspect ratio
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-12 09:44 UTC by Gwenole Beauchesne
Modified: 2012-09-12 09:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
codecparsers: h264: compute pixel aspect ratio (2.62 KB, patch)
2012-09-12 09:44 UTC, Gwenole Beauchesne
committed Details | Review

Description Gwenole Beauchesne 2012-09-12 09:44:39 UTC
Created attachment 224087 [details] [review]
codecparsers: h264: compute pixel aspect ratio

Hi, this patch is simply a helper to pre-calculate pixel-aspect-ratio, instead of letting the client application perform that for each decoder. Original patch comes from Simon Farnsworth for gstreamer-vaapi[0]. I then ported the patch to codecparsers with inspiration from Thibault's code for the VC-1 parser.

References:
[0] http://lists.freedesktop.org/archives/libva/2012-September/001253.html
Comment 1 Tim-Philipp Müller 2012-09-12 09:53:38 UTC
commit a08273be72a01e9b1c2e0e2845bfca904908403f
Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Date:   Wed Sep 12 11:21:41 2012 +0200

    codecparsers: h264: compute pixel aspect ratio.
    
    Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
    Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>